diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-05-28 12:49:48 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-05-28 12:49:48 +0200 |
commit | 782896cb44c6d64af088c951768d6ec1fb0b0f9f (patch) | |
tree | 94a8c06287e05a84a789d515d3fb0aaf45fe759a /tests/unit/db | |
parent | a92d104327a34c0c64ac0443a2c39dc29749a15c (diff) |
Add content hash to items
Diffstat (limited to 'tests/unit/db')
-rw-r--r-- | tests/unit/db/ItemTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/db/ItemTest.php b/tests/unit/db/ItemTest.php index 14abdfc71..b7bf76180 100644 --- a/tests/unit/db/ItemTest.php +++ b/tests/unit/db/ItemTest.php @@ -71,6 +71,7 @@ class ItemTest extends \PHPUnit_Framework_TestCase { $item->setStarred(); $item->setLastModified(321); $item->setFingerprint('fingerprint'); + $item->setContentHash('contentHash'); $this->assertEquals([ 'id' => 3, @@ -88,7 +89,8 @@ class ItemTest extends \PHPUnit_Framework_TestCase { 'starred' => true, 'lastModified' => 321, 'rtl' => true, - 'fingerprint' => 'fingerprint' + 'fingerprint' => 'fingerprint', + 'contentHash' => 'contentHash' ], $item->toAPI()); } |