mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +00:00
test: update DomainTest after refactor
This commit is contained in:
parent
51345f15b7
commit
0329e31c27
@ -74,7 +74,8 @@ class DomainTest extends KernelTestCase
|
||||
{
|
||||
/** @var EntityManagerInterface $entityManager */
|
||||
$entityManager = self::getContainer()->get(EntityManagerInterface::class);
|
||||
$arpaTld = $entityManager->getReference(Tld::class, 'arpa');
|
||||
/** @var Tld $arpaTld */
|
||||
$arpaTld = $entityManager->getRepository(Tld::class)->find('arpa');
|
||||
|
||||
$now = new \DateTimeImmutable();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user