fix test on PersonAddressMoveEvent::personChangeAddress

This commit is contained in:
Julien Fastré 2022-02-21 12:44:43 +01:00
parent 4f4b1bfbaa
commit 610b861345

View File

@ -50,8 +50,8 @@ final class PersonAddressMoveEventTest extends TestCase
$this->assertSame($previousAddress, $event->getPreviousAddress());
$this->assertSame($nextAddress, $event->getNextAddress());
$this->assertEquals(new DateTime('tomorrow'), $nextAddress->getValidFrom());
$this->assertEquals(new DateTime('tomorrow'), $event->getMoveDate());
$this->assertEquals(new DateTime('1 month ago'), $nextAddress->getValidFrom());
$this->assertEquals(new DateTime('1 month ago'), $event->getMoveDate());
}
public function testPersonChangeHousehold()