diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-03 13:56:39 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-03 13:56:39 +0200 |
commit | c18a2476b601bc6b9893462d9be680c2e13c89e8 (patch) | |
tree | e1e2d162251b7069236ce66bc57694695d5571bb /tests/Wallabag/CoreBundle/Helper | |
parent | d0ec2ddd2354e39badd947c2214f47193784b1c7 (diff) | |
download | wallabag-c18a2476b601bc6b9893462d9be680c2e13c89e8.tar.gz wallabag-c18a2476b601bc6b9893462d9be680c2e13c89e8.tar.zst wallabag-c18a2476b601bc6b9893462d9be680c2e13c89e8.zip |
CS
Diffstat (limited to 'tests/Wallabag/CoreBundle/Helper')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php index c0b68d53..f94c2137 100644 --- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php +++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | |||
@@ -521,13 +521,13 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase | |||
521 | $entry = new Entry(new User()); | 521 | $entry = new Entry(new User()); |
522 | $proxy->updateEntry($entry, 'http://0.0.0.0'); | 522 | $proxy->updateEntry($entry, 'http://0.0.0.0'); |
523 | 523 | ||
524 | $this->assertEquals('http://1.1.1.1/image.jpg', $entry->getUrl()); | 524 | $this->assertSame('http://1.1.1.1/image.jpg', $entry->getUrl()); |
525 | $this->assertEquals('this is my title', $entry->getTitle()); | 525 | $this->assertSame('this is my title', $entry->getTitle()); |
526 | $this->assertContains('http://1.1.1.1/image.jpg', $entry->getContent()); | 526 | $this->assertContains('http://1.1.1.1/image.jpg', $entry->getContent()); |
527 | $this->assertSame('http://1.1.1.1/image.jpg', $entry->getPreviewPicture()); | 527 | $this->assertSame('http://1.1.1.1/image.jpg', $entry->getPreviewPicture()); |
528 | $this->assertEquals('image/jpeg', $entry->getMimetype()); | 528 | $this->assertSame('image/jpeg', $entry->getMimetype()); |
529 | $this->assertEquals('200', $entry->getHttpStatus()); | 529 | $this->assertSame('200', $entry->getHttpStatus()); |
530 | $this->assertEquals('1.1.1.1', $entry->getDomainName()); | 530 | $this->assertSame('1.1.1.1', $entry->getDomainName()); |
531 | } | 531 | } |
532 | 532 | ||
533 | private function getTaggerMock() | 533 | private function getTaggerMock() |