mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 09:57:41 +01:00
Fix #3361 add test
This commit is contained in:
parent
fafdf17117
commit
d03b72f405
@ -308,6 +308,13 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
||||
$this->assertSame('application/json', $this->client->getResponse()->headers->get('Content-Type'));
|
||||
}
|
||||
|
||||
public function testGetTaggedEntriesWithBadParams()
|
||||
{
|
||||
$this->client->request('GET', '/api/entries', ['tags' => ['foo','bar']]);
|
||||
|
||||
$this->assertSame(200, $this->client->getResponse()->getStatusCode());
|
||||
}
|
||||
|
||||
public function testGetDatedEntries()
|
||||
{
|
||||
$this->client->request('GET', '/api/entries', ['since' => 1443274283]);
|
||||
|
Loading…
Reference in New Issue
Block a user