diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-12-02 17:25:56 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-23 13:28:02 +0100 |
commit | edc79ad886e4c96d1c2d205fedf5a9c19a177ee1 (patch) | |
tree | 410688346d51e01f0b26b1c8da5fa367ef5e24ce /tests/Wallabag | |
parent | a6b242a1fd6f8900d80354361449f1bf62506ef9 (diff) | |
download | wallabag-edc79ad886e4c96d1c2d205fedf5a9c19a177ee1.tar.gz wallabag-edc79ad886e4c96d1c2d205fedf5a9c19a177ee1.tar.zst wallabag-edc79ad886e4c96d1c2d205fedf5a9c19a177ee1.zip |
Fix test for custom version of the tidy extension
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php index 3dd9273c..508adb1b 100644 --- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php +++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | |||
@@ -163,7 +163,7 @@ class ContentProxyTest extends TestCase | |||
163 | 163 | ||
164 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 164 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
165 | $this->assertSame('this is my title', $entry->getTitle()); | 165 | $this->assertSame('this is my title', $entry->getTitle()); |
166 | $this->assertContains('this is my content', $entry->getContent()); | 166 | $this->assertContains('content', $entry->getContent()); |
167 | $this->assertSame('http://3.3.3.3/cover.jpg', $entry->getPreviewPicture()); | 167 | $this->assertSame('http://3.3.3.3/cover.jpg', $entry->getPreviewPicture()); |
168 | $this->assertSame('text/html', $entry->getMimetype()); | 168 | $this->assertSame('text/html', $entry->getMimetype()); |
169 | $this->assertSame('fr', $entry->getLanguage()); | 169 | $this->assertSame('fr', $entry->getLanguage()); |
@@ -205,7 +205,7 @@ class ContentProxyTest extends TestCase | |||
205 | 205 | ||
206 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 206 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
207 | $this->assertSame('this is my title', $entry->getTitle()); | 207 | $this->assertSame('this is my title', $entry->getTitle()); |
208 | $this->assertContains('this is my content', $entry->getContent()); | 208 | $this->assertContains('content', $entry->getContent()); |
209 | $this->assertNull($entry->getPreviewPicture()); | 209 | $this->assertNull($entry->getPreviewPicture()); |
210 | $this->assertSame('text/html', $entry->getMimetype()); | 210 | $this->assertSame('text/html', $entry->getMimetype()); |
211 | $this->assertSame('fr', $entry->getLanguage()); | 211 | $this->assertSame('fr', $entry->getLanguage()); |
@@ -247,7 +247,7 @@ class ContentProxyTest extends TestCase | |||
247 | 247 | ||
248 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 248 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
249 | $this->assertSame('this is my title', $entry->getTitle()); | 249 | $this->assertSame('this is my title', $entry->getTitle()); |
250 | $this->assertContains('this is my content', $entry->getContent()); | 250 | $this->assertContains('content', $entry->getContent()); |
251 | $this->assertSame('text/html', $entry->getMimetype()); | 251 | $this->assertSame('text/html', $entry->getMimetype()); |
252 | $this->assertNull($entry->getLanguage()); | 252 | $this->assertNull($entry->getLanguage()); |
253 | $this->assertSame('200', $entry->getHttpStatus()); | 253 | $this->assertSame('200', $entry->getHttpStatus()); |
@@ -296,7 +296,7 @@ class ContentProxyTest extends TestCase | |||
296 | 296 | ||
297 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 297 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
298 | $this->assertSame('this is my title', $entry->getTitle()); | 298 | $this->assertSame('this is my title', $entry->getTitle()); |
299 | $this->assertContains('this is my content', $entry->getContent()); | 299 | $this->assertContains('content', $entry->getContent()); |
300 | $this->assertNull($entry->getPreviewPicture()); | 300 | $this->assertNull($entry->getPreviewPicture()); |
301 | $this->assertSame('text/html', $entry->getMimetype()); | 301 | $this->assertSame('text/html', $entry->getMimetype()); |
302 | $this->assertSame('fr', $entry->getLanguage()); | 302 | $this->assertSame('fr', $entry->getLanguage()); |
@@ -332,7 +332,7 @@ class ContentProxyTest extends TestCase | |||
332 | 332 | ||
333 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 333 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
334 | $this->assertSame('this is my title', $entry->getTitle()); | 334 | $this->assertSame('this is my title', $entry->getTitle()); |
335 | $this->assertContains('this is my content', $entry->getContent()); | 335 | $this->assertContains('content', $entry->getContent()); |
336 | $this->assertSame('text/html', $entry->getMimetype()); | 336 | $this->assertSame('text/html', $entry->getMimetype()); |
337 | $this->assertSame('fr', $entry->getLanguage()); | 337 | $this->assertSame('fr', $entry->getLanguage()); |
338 | $this->assertSame(4.0, $entry->getReadingTime()); | 338 | $this->assertSame(4.0, $entry->getReadingTime()); |
@@ -371,7 +371,7 @@ class ContentProxyTest extends TestCase | |||
371 | 371 | ||
372 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 372 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
373 | $this->assertSame('this is my title', $entry->getTitle()); | 373 | $this->assertSame('this is my title', $entry->getTitle()); |
374 | $this->assertContains('this is my content', $entry->getContent()); | 374 | $this->assertContains('content', $entry->getContent()); |
375 | $this->assertSame('text/html', $entry->getMimetype()); | 375 | $this->assertSame('text/html', $entry->getMimetype()); |
376 | $this->assertSame('fr', $entry->getLanguage()); | 376 | $this->assertSame('fr', $entry->getLanguage()); |
377 | $this->assertSame(4.0, $entry->getReadingTime()); | 377 | $this->assertSame(4.0, $entry->getReadingTime()); |
@@ -406,7 +406,7 @@ class ContentProxyTest extends TestCase | |||
406 | 406 | ||
407 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); | 407 | $this->assertSame('http://1.1.1.1', $entry->getUrl()); |
408 | $this->assertSame('this is my title', $entry->getTitle()); | 408 | $this->assertSame('this is my title', $entry->getTitle()); |
409 | $this->assertContains('this is my content', $entry->getContent()); | 409 | $this->assertContains('content', $entry->getContent()); |
410 | $this->assertSame('text/html', $entry->getMimetype()); | 410 | $this->assertSame('text/html', $entry->getMimetype()); |
411 | $this->assertSame('fr', $entry->getLanguage()); | 411 | $this->assertSame('fr', $entry->getLanguage()); |
412 | $this->assertSame(4.0, $entry->getReadingTime()); | 412 | $this->assertSame(4.0, $entry->getReadingTime()); |