Skip to content

Commit

Permalink
Code checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Feb 20, 2023
1 parent 18b8acb commit deaa713
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,17 @@
abstract class AbstractTestCase extends TestCase {

/**
* Get the token.
* Get a token.
*
* @return string Returns the token.
*/
public static function getToken(): string {

$path = __DIR__ . "/../.token";

if (true === file_exists($path)) {
return file_get_contents($path);
}

return "YOUR_API_KEY";
return "API_TOKEN_MOCK";
}
}

0 comments on commit deaa713

Please sign in to comment.