Skip to content

Commit

Permalink
Fix notices in graphql requests
Browse files Browse the repository at this point in the history
* Test: Try to find out whats wrong

* Try

* Try

* Fix

* Try

* Try

* Foo

* Foo

* Fix

* Fix test

---------

Co-authored-by: Christian Fritsch <[email protected]>
  • Loading branch information
chrfritsch and Christian Fritsch authored Sep 30, 2024
1 parent fbb5cb5 commit 949fc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/thunder_gqls/tests/src/Functional/SchemaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function testNonExistingEntityLinks(): void {
}
GQL;

$variables = ['path' => 'user/1'];
$variables = ['path' => '/user/1'];
$response = $this->query($query, Json::encode($variables));
$page = $this->jsonDecode($response->getBody());
$this->assertArrayNotHasKey('errors', $page);
Expand Down Expand Up @@ -205,7 +205,7 @@ public function testLabelAccess(): void {
}
GQL;

$variables = ['path' => 'duis-autem-vel-eum-iriure'];
$variables = ['path' => '/duis-autem-vel-eum-iriure'];
$response = $this->query($query, Json::encode($variables));
$this->assertEquals(200, $response->getStatusCode(), 'Response not 200');

Expand Down

0 comments on commit 949fc54

Please sign in to comment.