mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
Fix tests
This commit is contained in:
@@ -29,11 +29,6 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
|
||||
private AddressRepository $addressRepository;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->addressRepository = self::$container->get(AddressRepository::class);
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::ensureKernelShutdown();
|
||||
@@ -50,6 +45,7 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
$this->addressRepository = self::$container->get(AddressRepository::class);
|
||||
$address = $this->addressRepository->find($addressId);
|
||||
|
||||
$this->assertEquals(Address::ADDR_REFERENCE_STATUS_REVIEWED, $address->getRefStatus());
|
||||
@@ -66,6 +62,7 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
$this->addressRepository = self::$container->get(AddressRepository::class);
|
||||
$address = $this->addressRepository->find($addressId);
|
||||
|
||||
$this->assertEquals(Address::ADDR_REFERENCE_STATUS_MATCH, $address->getRefStatus());
|
||||
|
Reference in New Issue
Block a user