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:
parent
84dcaaaea9
commit
890c7d0bfa
11 changed files with 64 additions and 5 deletions
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue