summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2022-05-02update last_modified when marking an item as readBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> this way it works Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> add changelog entry Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Partly fix test Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> test passing Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-04-30rename parameter for read/unread api callPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30also allow starring/unstarring multiple items by idPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30remove duplicate functionPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-30add tests for starring/unstarring items by idPaul Tirk
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
2022-04-18Fix malformed feeds (without GUIDs) stopping the update process (fixes #1738)nextcloud486153
Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>
2022-03-08adjust testBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18chore: use executeStatement instead of executeUpdateSean Molenaar
Signed-off-by: Sean Molenaar sean@seanmolenaar.eu Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18Download feed logos via guzzle to have better error handlingBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-07-24Update all feeds from commandDavid Baucum
Closes #1359 Signed-off-by: David Baucum <david@baucum.me>
2021-07-17adapt tests to QBMapper changes in NC22anoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-06-16Search: add feed searchSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-01Chore: implement removals from #935Sean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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-05-27controller: getRead + all_items is now unread typeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-03[Backport] Prevent some of the favicon fetching errorsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-04-24Search: Fix app prefix in search redirectSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-24replace deprecated getDescription callanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-04-14DB: only sort on item IDsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-10Search: Fix and test folder searchSean 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๐ŸŽจ Rename $l to $l10nMarco 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โœ… Add + update sharer display name testsMarco Nassabain
- added testMapSharedByDisplayNames - updated ItemController tests to expect call to function 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๐Ÿงน ShareService: rename $url to $urlGeneratorMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœ… Update test to include localizationMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ ShareService: update dummy feed URLMarco Nassabain
- add IURLGenerator DI - update url to "http://serverurl/news/sharedwithme" - updated tests: added DI + adapted expected url Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŒ ShareService: Localize dummy feed titleMarco 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 ItemServiceTest: remove share testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœ… WIP add ShareServiceTestMarco 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โœ… Update ItemController share testsMarco Nassabain
- use ShareService and shareItemWithUser function Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Patch ItemControllerTest to mock shareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Patch ItemController + test to use ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix circular inclusion: create ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœจ Add FeedService DI into ItemService in testsMarco 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โœ๏ธ Fix share test name typoMarco Nassabain
- testFindAllShared => testFindAllSharedWithUser 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>