Rename Mappable stuff to Geocode stuff, change dir structure
This commit is contained in:
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace Pcm\GeocodeBundle\Tests;
|
||||
|
||||
use Pcm\GeocodeBundle\Entity\Interface\MappableInterface;
|
||||
use Pcm\GeocodeBundle\Entity\Trait\MappableTrait;
|
||||
use Pcm\GeocodeBundle\Interface\Entity\GeocodeInterface;
|
||||
use Pcm\GeocodeBundle\Trait\Entity\GeocodeTrait;
|
||||
use Pcm\GeocodeBundle\Exception\ApiErrorException;
|
||||
use Pcm\GeocodeBundle\Exception\NoResultsFoundException;
|
||||
use Pcm\GeocodeBundle\Model\GeoCoordinates;
|
||||
@@ -69,11 +69,11 @@ final class GeocodeTest extends KernelTestCase
|
||||
$this->assertIsFloat($geoCoordinates->longitude);
|
||||
}
|
||||
|
||||
private function getMappableEntity(): MappableInterface
|
||||
private function getGeocodableEntity(): GeocodeInterface
|
||||
{
|
||||
return new class implements MappableInterface
|
||||
return new class implements GeocodeInterface
|
||||
{
|
||||
use MappableTrait;
|
||||
use GeocodeTrait;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user