diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 10:25:52 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 10:26:00 +0100 |
commit | 4c390fa6b045d145fcc79efc9e77b06ff40df08c (patch) | |
tree | cc9ce68013317503f54c55058c25143630028da2 /tests/unit/db/ItemTest.php | |
parent | d03ec062f15125d84e369a39e66814253c02f5a1 (diff) |
dont generate guid hash by hashing the guid since picofeed already hashes the guid in all cases
Diffstat (limited to 'tests/unit/db/ItemTest.php')
-rw-r--r-- | tests/unit/db/ItemTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/db/ItemTest.php b/tests/unit/db/ItemTest.php index 2739baabd..6d1a1d87a 100644 --- a/tests/unit/db/ItemTest.php +++ b/tests/unit/db/ItemTest.php @@ -263,7 +263,7 @@ class ItemTest extends \PHPUnit_Framework_TestCase { public function testSetGuidUpdatesHash() { $item = new Item(); $item->setGuid('http://test'); - $this->assertEquals(md5('http://test'), $item->getGuidHash()); + $this->assertEquals('http://test', $item->getGuidHash()); } |