diff --git a/.gitignore b/.gitignore index 9be8bda..9787040 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /composer.lock /vendor /build -/.phpunit.result.cache \ No newline at end of file +/.phpunit.result.cache +tags diff --git a/composer.json b/composer.json index 6713515..b8b4b61 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ "require": { "php": ">=7.2", "thecodingmachine/graphqlite": "^4", - "illuminate/console": "^5.7|^6.0|^7", - "illuminate/container": "^5.7|^6.0|^7", - "illuminate/support": "^5.7|^6.0|^7", - "illuminate/cache": "^5.7|^6.0|^7", + "illuminate/console": "^5.7|^6.0|^7|^8", + "illuminate/container": "^5.7|^6.0|^7|^8", + "illuminate/support": "^5.7|^6.0|^7|^8", + "illuminate/cache": "^5.7|^6.0|^7|^8", "symfony/psr-http-message-bridge": "^1.3.0 || ^2", "laminas/laminas-diactoros": "^2.2.2", "symfony/cache": "^4.3 || ^5" diff --git a/tests/Providers/GraphQLiteServiceProviderTest.php b/tests/Providers/GraphQLiteServiceProviderTest.php index dfca626..72d53d7 100644 --- a/tests/Providers/GraphQLiteServiceProviderTest.php +++ b/tests/Providers/GraphQLiteServiceProviderTest.php @@ -39,7 +39,7 @@ public function testAuthentication() public function testPagination() { $response = $this->json('POST', '/graphql', ['query' => <<assertContains('The foo must start with one of the following: 192', $response->json('errors')[0]['message']); + $this->assertStringContainsString('The foo must start with one of the following: 192', $response->json('errors')[0]['message']); $this->assertSame(400, $response->getStatusCode(), $response->getContent()); $response = $this->json('POST', '/graphql', ['query' => '{ testValidatorMultiple(foo:"192.168.1") }']); @@ -157,7 +157,7 @@ public function testValidatorMultiple() ] ] ]); - $this->assertContains('The foo must start with one of the following: 192', $response->json('errors')[0]['message']); + $this->assertStringContainsString('The foo must start with one of the following: 192', $response->json('errors')[0]['message']); $this->assertSame(400, $response->getStatusCode(), $response->getContent());