mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-15 21:55:09 -05:00
[fix] returned values with unread status
This commit is contained in:
parent
a91ae988ca
commit
7b97b86772
@ -42,7 +42,7 @@ class ApiTest extends PocheWebTestCase
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertEquals('[{"id":"1","url":"http:\/\/deboutlesgens.com\/blog\/le-courage-de-vivre-consciemment\/","title":"Le courage de vivre consciemment","content":"Test content","updated":null,"status":null,"bookmark":"0","fetched":"1","user_id":"1"}]', $client->getResponse()->getContent());
|
$this->assertEquals('[{"id":"1","url":"http:\/\/deboutlesgens.com\/blog\/le-courage-de-vivre-consciemment\/","title":"Le courage de vivre consciemment","content":"Test content","updated":null,"status":"unread","bookmark":"0","fetched":"1","user_id":"1"}]', $client->getResponse()->getContent());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ class ApiTest extends PocheWebTestCase
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertEquals('[{"id":"1","url":"http:\/\/deboutlesgens.com\/blog\/le-courage-de-vivre-consciemment\/","title":"Le courage de vivre consciemment","content":"Test content","updated":null,"status":null,"bookmark":"0","fetched":"1","user_id":"1"}]', $client->getResponse()->getContent());
|
$this->assertEquals('[{"id":"1","url":"http:\/\/deboutlesgens.com\/blog\/le-courage-de-vivre-consciemment\/","title":"Le courage de vivre consciemment","content":"Test content","updated":null,"status":"unread","bookmark":"0","fetched":"1","user_id":"1"}]', $client->getResponse()->getContent());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,6 @@ class Fixtures
|
|||||||
|
|
||||||
public static function loadEntries($db) {
|
public static function loadEntries($db) {
|
||||||
|
|
||||||
$db->query("INSERT INTO entries (id, url, title, content, user_id) values (1, 'http://deboutlesgens.com/blog/le-courage-de-vivre-consciemment/', 'Le courage de vivre consciemment','Test content', 1);");
|
$db->query("INSERT INTO entries (id, url, title, content, status, user_id) values (1, 'http://deboutlesgens.com/blog/le-courage-de-vivre-consciemment/', 'Le courage de vivre consciemment','Test content', 'unread', 1);");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user