Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfocus committed Jul 24, 2022
1 parent 4117675 commit b1edbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/BrightSkyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testCurrentWeather(): void
$latitude = 47.873;
$longitude = 8.004;
$testQuery = WeatherQuery::create($latitude, $longitude);
$testString = 'https://api.brightsky.dev/current_weather?lat=47.8739259&lon=8.0043961&units=dwd';
$testString = 'https://api.brightsky.dev/current_weather?lat=47.873&lon=8.004&units=dwd';

$request = $this->createMock(RequestInterface::class);
$this->requestFactory->expects(self::once())->method('createRequest')->with('GET', $testString)->willReturn($request);
Expand Down

0 comments on commit b1edbbe

Please sign in to comment.