mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
test for postal code base importer
This commit is contained in:
@@ -59,6 +59,8 @@ class AddressReferenceBaseImporterTest extends KernelTestCase
|
||||
$this->assertCount(1, $addresses);
|
||||
$this->assertEquals('Rue test abccc-guessed', $addresses[0]->getStreet());
|
||||
|
||||
$previousAddressId = $addresses[0]->getId();
|
||||
|
||||
$this->entityManager->clear();
|
||||
|
||||
$this->importer->importAddress(
|
||||
@@ -81,6 +83,7 @@ class AddressReferenceBaseImporterTest extends KernelTestCase
|
||||
|
||||
$this->assertCount('1', $addresses);
|
||||
$this->assertEquals( 'Rue test abccc guessed fixed', $addresses[0]->getStreet());
|
||||
$this->assertEquals($previousAddressId, $addresses[0]->getId());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user