Skip to content

Commit

Permalink
FEAT: Client Options
Browse files Browse the repository at this point in the history
- fixed tests
  • Loading branch information
Aternus committed Jun 9, 2024
1 parent 9e4c289 commit 934337a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .sample.development.env
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
GEONAMES_USERNAME=''
GEONAMES_TOKEN=''
4 changes: 2 additions & 2 deletions tests/GeoNames/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ final class ClientTest extends TestCase
public function setUp(): void
{
$this->config = [
'token' => getenv('GEONAMES_TOKEN') ?? '',
'username' => getenv('GEONAMES_USERNAME') ?? '',
'token' => getenv('GEONAMES_TOKEN') ?: '',
'username' => getenv('GEONAMES_USERNAME') ?: '',
];
$this->client = new GeoNamesClient($this->config['username'], $this->config['token']);
}
Expand Down

0 comments on commit 934337a

Please sign in to comment.