summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db
AgeCommit message (Collapse)Author
2021-07-17adapt tests to QBMapper changes in NC22anoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-05-27db: no longer order by items.last_modifiedSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-04-14DB: only sort on item IDsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-08🩹 Fix rebase issuesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🩹 Fix rebase errorsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Added test for sharedByDisplayName fieldMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove UserManager code from ItemMapper & testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🩹 Fix issues after rebaseMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Item: update tests - include sharer display nameMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08♻️ Item: Remove isSharedMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🧹 Cleanup code, remove spaces, rename variablesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Update ItemTest - remove sharedWith fieldMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove old share logic from tests & old testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Update find shared items testsMarco Nassabain
- testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperPaginatedTest: update testsMarco Nassabain
Adapted folder/feed/item tests to take account for shared data - testFindAllItemsStarredSearch - testFindAllFeed - testFindAllFeedInverted - testFindAllFeedHideRead - testFindAllFeedSearch - testFindAllFolderIdNull - testFindAllFolderHideRead - testFindAllFolderHideReadInvertOrder - testFindAllFolderSearchId Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperPaginatedTest:WENDLING NICOLAS
- testFindAllItemsInvalid - testFindAllItemsFullInverted - testFindAllItemsUnread - testFindAllItemsStarred Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperAfterTest:WENDLING NICOLAS
- testFindAllAfterStarred - testFindAllAfterAll - testFindAllAfterInvalid Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Fix tests in ItemMapperAfterTest:WENDLING NICOLAS
- testFindAllInFeedAfter - testFindAllInFeedAfterHideRead - testFindAllInFolderAfter - testFindAllInFolderAfterHideRead - testFindAllAfterUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔀 Resolving merge: moving shared testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🧹 Cleanup test files: added new linesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix findFromUser, testFindAllFromUserWithParams, testFindAllFromUserAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testFindForUserByGUIDHashAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testNewestAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix tests testFindAllInFolderAfterHideRead, testFindAllInFolderAfter, ↵Aurélien
testFindAllInFeedAfterHideRead, testFindAllInFeedAfter Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 Fix testFindAllItemsStarredSearch, testFindAllItemsStarred, ↵Aurélien
testFindAllItemsUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix testFindAllItemsInvalid, testFindAllAfterInvalid, ↵Aurélien
testFindAllAfterStarred, testFindAllAfterUnread Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08fix test findAllFeedAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFeedSearch and findAllFeedHideReadAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFolderIdNull and findAllFolderHideReadAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test findAllFolderHideReadInvertOrderAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix test FindAllFolderSearchIdAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08fix test readAllAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperTest: add tests for findAllSharedAfterMarco Nassabain
- testFindAllSharedAfter - testFindAllSharedAfterHideRead Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ ItemMapperTest: test findAllSharedWithUser funcMarco Nassabain
- testFindAllSharedWithUser - testFindAllSharedWithUserHideRead - testFindAllSharedWithUserSearch Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Add tests setSharedBy and setSharedWithAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✅ Update tests to contain share dataMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08add tests for 'toAPI2' methodPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2021-04-06DB: Use boolean parameter for unread/starredSean Molenaar
Issue GH-1278 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-05DB: Allow negative limitsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-31DB: Updates should use set()Sean Molenaar
Issue GH-1211 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-23DB: Don't show deleted feed itemsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-17✅ Item: update search index test to use categoriesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✅ Add tests of categoriesJimmy Huynh
Signed-off-by: Jimmy Huynh <linkatox@gmail.com>
2021-03-17✅ Item: update tests to include categoriesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-02-27DB: Fix offset quotesSean Molenaar
Issue GH-1200 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-23DB: Use ID as offset in item queriesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20General: Fix folder querySean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-14update sorting columnanoy
follow-up for b4fa772bc5f23f84fc292f5d6bf884543d2bfe51 (#1056) Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-13Remove V1 item APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-05DB: Remove unused fieldsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>