Get tests passing
This commit is contained in:
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace Pcm\GeocodeBundle\Tests;
|
||||
|
||||
use Pcm\GeocodeBundle\Data\LatLon;
|
||||
use Pcm\GeocodeBundle\Interface\MappableInterface;
|
||||
use Pcm\GeocodeBundle\Model\LatLonModel;
|
||||
use Pcm\GeocodeBundle\Service\Geocoder;
|
||||
use Pcm\GeocodeBundle\Tests\AppKernel;
|
||||
use Pcm\GeocodeBundle\Trait\MappableTrait;
|
||||
@@ -37,11 +37,11 @@ class GeocodeTest extends KernelTestCase
|
||||
$this->geocoder->geocodePostcode('aaaaaaaa');
|
||||
}
|
||||
|
||||
public function testGeocodePostcodeReturnsLatLonObject(): void
|
||||
public function testGeocodePostcodeReturnsLatLonModel(): void
|
||||
{
|
||||
sleep(1);
|
||||
$result = $this->geocoder->geocodePostcode(self::POSTCODE);
|
||||
$this->assertInstanceOf(LatLon::class, $result);
|
||||
$this->assertInstanceOf(LatLonModel::class, $result);
|
||||
}
|
||||
|
||||
private function getMappableEntity(): MappableInterface
|
||||
|
||||
Reference in New Issue
Block a user