loginAs($this->user); $this->assertResponseIsSuccessful(); $this->get('/api/siret-checking/34919841600035'); $this->assertResponseStatusCodeSame(200); $this->assertJsonContains([ '@context' => 'api/contexts/Siret', '@id' => '/api/siret-checking/34919841600035', '@type' => 'Siret', 'number' => '34919841600035', 'isCorrect' => true, ]); } }