1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Improve tests

- add more tests for coverage
- add a test on annotation deletion
- fix post annontation with ranges
This commit is contained in:
Jeremy Benoist 2016-03-11 17:56:41 +01:00
parent 66e2be2371
commit 09d8bb6fa2
5 changed files with 68 additions and 17 deletions

View file

@ -302,8 +302,6 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase
"given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland",
"favorite": "1",
"status": "1",
"resolved_title": "The Massive Ryder Cup Preview",
"resolved_url": "http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview",
"excerpt": "The list of things I love about the Ryder Cup is so long that it could fill a (tedious) novel, and golf fans can probably guess most of them.",
"is_article": "1",
"has_video": "1",
@ -317,8 +315,6 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase
"given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland",
"favorite": "1",
"status": "0",
"resolved_title": "The Massive Ryder Cup Preview",
"resolved_url": "http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview",
"excerpt": "The list of things I love about the Ryder Cup is so long that it could fill a (tedious) novel, and golf fans can probably guess most of them.",
"is_article": "1",
"has_video": "0",