Improve method names
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user