I'm working with Laravel and my code is like that
$this->actingAs($user)
->json('post', '/graphql/admin', ['query' => $query])
->assertStatus(200)
->assertJsonStructure($expected);
I would like to print the variable $query if this test fails.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2LKjhBv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire