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.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire