diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-11 17:56:41 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-11 17:59:42 +0100 |
commit | 09d8bb6fa26b881da478df4c7b97620cb7aea0d0 (patch) | |
tree | 2a81d844c253c5961943ba936445b154d4d32510 /src/Wallabag/ImportBundle/Tests | |
parent | 66e2be23717ad8af3cabe5d0c69effd492af3ece (diff) | |
download | wallabag-09d8bb6fa26b881da478df4c7b97620cb7aea0d0.tar.gz wallabag-09d8bb6fa26b881da478df4c7b97620cb7aea0d0.tar.zst wallabag-09d8bb6fa26b881da478df4c7b97620cb7aea0d0.zip |
Improve tests
- add more tests for coverage
- add a test on annotation deletion
- fix post annontation with ranges
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests')
-rw-r--r-- | src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php index 92712b9d..450cdc95 100644 --- a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php +++ b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php | |||
@@ -302,8 +302,6 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase | |||
302 | "given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland", | 302 | "given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland", |
303 | "favorite": "1", | 303 | "favorite": "1", |
304 | "status": "1", | 304 | "status": "1", |
305 | "resolved_title": "The Massive Ryder Cup Preview", | ||
306 | "resolved_url": "http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview", | ||
307 | "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.", | 305 | "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.", |
308 | "is_article": "1", | 306 | "is_article": "1", |
309 | "has_video": "1", | 307 | "has_video": "1", |
@@ -317,8 +315,6 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase | |||
317 | "given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland", | 315 | "given_title": "The Massive Ryder Cup Preview - The Triangle Blog - Grantland", |
318 | "favorite": "1", | 316 | "favorite": "1", |
319 | "status": "0", | 317 | "status": "0", |
320 | "resolved_title": "The Massive Ryder Cup Preview", | ||
321 | "resolved_url": "http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview", | ||
322 | "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.", | 318 | "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.", |
323 | "is_article": "1", | 319 | "is_article": "1", |
324 | "has_video": "0", | 320 | "has_video": "0", |