diff --git a/tests/Service/GeocoderTest.php b/tests/Service/GeocoderTest.php index a1c713b..f8729e7 100644 --- a/tests/Service/GeocoderTest.php +++ b/tests/Service/GeocoderTest.php @@ -30,7 +30,7 @@ final class GeocoderTest extends KernelTestCase $this->geocoder = $kernel->getContainer()->get('pcm_geocode.geocoder'); } - public function testGeocodePostcodeThrowsOnEmptyInput(): void + public function testGeocodeThrowsOnEmptyInput(): void { sleep(1); $this->expectException(ApiErrorException::class); @@ -39,7 +39,7 @@ final class GeocoderTest extends KernelTestCase $this->geocoder->geocode($entity); } - public function testGeocodePostcodeThrowsOnInvalidPostcode(): void + public function testGeocodeThrowsOnInvalidPostcode(): void { sleep(1); $this->expectException(NoResultsFoundException::class); @@ -48,7 +48,7 @@ final class GeocoderTest extends KernelTestCase $this->geocoder->geocode($entity); } - public function testGeocodePostcodeReturnsGeoCoordinates(): GeoCoordinates + public function testGeocodeReturnsGeoCoordinates(): GeoCoordinates { sleep(1); $entity = $this->createEntity(self::POSTCODE); @@ -59,7 +59,7 @@ final class GeocoderTest extends KernelTestCase } /** - * @depends testGeocodePostcodeReturnsGeoCoordinates + * @depends testGeocodeReturnsGeoCoordinates */ public function testCoordinatesAreSet(GeoCoordinates $geoCoordinates): void {