diff --git a/src/Tests/ApiKeyConfigurationTest.php b/src/Tests/ApiKeyConfigurationTest.php index 2f5a98d..9aedc39 100755 --- a/src/Tests/ApiKeyConfigurationTest.php +++ b/src/Tests/ApiKeyConfigurationTest.php @@ -40,7 +40,7 @@ class ApiKeyConfigurationTest extends WebTestBase { /** * Test to implement a runtime requirement checking if API key is not set. */ - function testKeyConfiguration() { + public function testKeyConfiguration() { $this->drupalGet(Url::fromRoute('google_vision.settings')); $this->assertResponse(200); $this->assertFieldByName('api_key', '', 'The API key is not set'); @@ -54,7 +54,7 @@ class ApiKeyConfigurationTest extends WebTestBase { /** * Test to verify that it is stored successfully. */ - function testKeyStorage() { + public function testKeyStorage() { $this->drupalGet(Url::fromRoute('google_vision.settings')); $this->assertResponse(200); $this->assertFieldByName('api_key', '', 'The key is not set currently');