1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Added button to show entries with the same domain

This commit is contained in:
Nicolas Lœuillet 2021-01-04 09:28:56 +01:00 committed by Jeremy Benoist
parent 84dcaaaea9
commit 890c7d0bfa
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
11 changed files with 64 additions and 5 deletions

View file

@ -1675,4 +1675,13 @@ class EntryControllerTest extends WallabagCoreTestCase
$client->request('GET', '/delete/' . $entry2->getId());
$this->assertSame(404, $client->getResponse()->getStatusCode());
}
public function testGetSameDomainEntries()
{
$this->logInAs('admin');
$client = $this->getClient();
$crawler = $client->request('GET', '/domain/1');
$this->assertCount(4, $crawler->filter('li.entry'));
}
}