mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
refactor: use DQL to get expiration date of a domain name
This commit is contained in:
@@ -34,9 +34,8 @@ final class WatchlistControllerTest extends ApiTestCase
|
||||
public function testGetTrackedDomains()
|
||||
{
|
||||
$client = WatchListUpdateProcessorTest::createUserAndWatchlist();
|
||||
|
||||
$client->getContainer()->get('doctrine')->getManager()->clear();
|
||||
$response = $client->request('GET', '/api/tracked');
|
||||
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
$data = $response->toArray();
|
||||
|
||||
Reference in New Issue
Block a user