Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web committed Nov 22, 2024
1 parent 7314c16 commit bb83b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Controller/GraphiQLControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testDefaultSchema(): void

$this->assertInstanceOf(Response::class, $response);
$this->assertSame(200, $response->getStatusCode(), $response->getContent());
$this->stringContains('Loading...', $response->getContent());
$this->assertStringContainsString('Loading...', $response->getContent());
}

public function testDefaultSchemaViaMultipleRoute(): void
Expand All @@ -41,6 +41,6 @@ public function testDefaultSchemaViaMultipleRoute(): void

$this->assertInstanceOf(Response::class, $response);
$this->assertSame(200, $response->getStatusCode());
$this->stringContains('Loading...', $response->getContent());
$this->assertStringContainsString('Loading...', $response->getContent());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testDefaultSchema(): void

$this->assertInstanceOf(Response::class, $response);
$this->assertSame(200, $response->getStatusCode());
$this->stringContains('Loading...', $response->getContent());
$this->stringContains('var endpoint = "\/"', $response->getContent());
$this->assertStringContainsString('Loading...', $response->getContent());
$this->assertStringContainsString('var endpoint = "\/"', $response->getContent());
}
}

0 comments on commit bb83b9d

Please sign in to comment.