Skip to content

Commit

Permalink
test(findAll): Add bookmark without tags
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Oct 6, 2024
1 parent 17cdb8b commit 2e1f588
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/FindTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function testFindAllWithAnd() {

$params = new QueryParameters();
$bookmarks = $this->bookmarkMapper->findAll($this->userId, $params->setSearch(['.com']));
$this->assertCount(2, $bookmarks);
$this->assertCount(3, $bookmarks);
}


Expand Down Expand Up @@ -123,6 +123,7 @@ public function singleBookmarksProvider() {
[['two'], ['url' => 'https://nextcloud.com/', 'title' => 'Nextcloud', 'description' => '']],
[['three', 'one'], ['url' => 'https://php.net/', 'title' => '', 'description' => '']],
[['two', 'four', 'one'], ['url' => 'https://de.wikipedia.org/wiki/%C3%9C', 'title' => '', 'description' => '']],
[[],['url' => 'https://github.com/nextcloud/bookmarks/projects/1', 'title' => '', 'description' => '']],
]);
}
}

0 comments on commit 2e1f588

Please sign in to comment.