summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Unit/Db/ItemTest.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/Unit/Db/ItemTest.php b/tests/Unit/Db/ItemTest.php
index 5cd0cddac..faf924e46 100644
--- a/tests/Unit/Db/ItemTest.php
+++ b/tests/Unit/Db/ItemTest.php
@@ -201,7 +201,6 @@ class ItemTest extends TestCase
$item->setLastModified(321);
$item->setCategories(['food']);
$item->setSharedBy('jack');
- $item->setSharedWith('mclovin');
$this->assertEquals(
[
@@ -227,7 +226,6 @@ class ItemTest extends TestCase
'fingerprint' => 'fingerprint',
'categories' => ['food'],
'sharedBy' => 'jack',
- 'sharedWith' => 'mclovin',
'isShared' => true,
], $item->jsonSerialize()
);
@@ -460,11 +458,4 @@ class ItemTest extends TestCase
$this->assertEquals('Hector', $item->getSharedBy());
$this->assertArrayHasKey('sharedBy', $item->getUpdatedFields());
}
-
- public function testSetSharedWith(){
- $item = new Item();
- $item->setSharedWith('Hector');
- $this->assertEquals('Hector', $item->getSharedWith());
- $this->assertArrayHasKey('sharedWith', $item->getUpdatedFields());
- }
}