forked from wallabag/wallabag
Added button to show entries with the same domain
This commit is contained in:
committed by
Jeremy Benoist
parent
84dcaaaea9
commit
890c7d0bfa
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user