mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
add test for empty salt
This commit is contained in:
parent
874e3e10a4
commit
f170f31594
2 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ class WallabagRestControllerTest extends WallabagTestCase
|
|||
$client = $this->createClient();
|
||||
$client->request('GET', '/api/salts/admin.json');
|
||||
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
||||
$this->assertNotEmpty(json_decode($client->getResponse()->getContent()));
|
||||
|
||||
$client->request('GET', '/api/salts/notfound.json');
|
||||
$this->assertEquals(404, $client->getResponse()->getStatusCode());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue