summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperTest.php
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đŸ”¥ Remove UserManager code from ItemMapper & testsMarco 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đŸ§¹ Cleanup code, remove spaces, rename variablesMarco 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đŸ”€ 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-03-31DB: Updates should use set()Sean Molenaar
Issue GH-1211 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>
2017-08-14Split binary to booleans (#203)Daniel Opitz
* replaced old status with 2 flags for unread and starred * add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it * add repair step for migration * again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false * add/fix unit tests for new boolean status * set unread/starred flags as statements in sql * fixed mysql unknown column items.unread, fixed marking of read items on repair step * remove unnecessary bool casts * add empty checks to Items::is* methods * update migration to use native sql instead of the querybuilder * don't cast the flags manually, let the api do the work
2016-07-23Adjust copyright headerBernhard Posselt
2016-07-23Move to new directory structureBernhard Posselt