summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Controller
AgeCommit message (Collapse)Author
2021-05-16controller: getRead + all_items is now unread typeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-23Feed: Fix rename moving fileSean Molenaar
Issue #1181 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-13Remove V1 item APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-02Controllers: Export Starred or unread instead of andSean Molenaar
Fixes GH-1010 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-18Controllers: Fetch feed after creatingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-17fix TypeError caused by type conversion in controlleranoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-12-30Remove PHPunit integration testsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-17Fix mapper->find and empty user sessionsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08Refactor User ID fetching and fix non-specific cleanupSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-08Remove usage of old Folder codeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-10Unremove but deprecate User APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03Controllers: Use v2 servicesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03fix unittestBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-11-03Add migration with foreign keysSean Molenaar
Closes #829 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-10Fix usage of at() in unittestsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29OPML export command and fixesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29Fix repair step and test itSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27Create V2 mapper, Service and management commandsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-25Move to nextcloud config and update phpunitSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-14Update to new BackgroudJob logicBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-02-16Basic Media-RSS support (#599)Éloi Rivard
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
2018-12-04use magic class constant instead of classname stringsDaniel Opitz
2018-10-02Merge pull request #283 from danopz/entity-methodsSean Molenaar
Entity setters + getters
2018-10-02Put back old tests for stable nextcloud versionSean Molenaar
2018-09-28add setters + getters to Folder and Item entities, fixed unit tests, ↵Daniel Opitz
rearranged methods
2018-07-01test(api): adapt tests to previous changeDavid Guillot
All API controllers unit tests now mock IUserSession and IUser to match new expectations
2018-03-27Core: Fix compatibility with nextcloud codestyle (#280)Sean Molenaar
2018-03-18Unit: Fix unittests (#278)Sean Molenaar
* Unit: Fix unittests Issue #171 * Tests: Move test namespace to the expected nextcloud namespace
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
2017-06-06Fix travis build (#178)Daniel Schaal
* Use stable12 branch for travis * Shorten db indices to max 27 characters to satisfy app:check-code * Use precise container, downgrade to psql 9.4 * Create psql role * Fix ContentController test * Fix PageController and StatusService tests * Use OCP\IDBConnection, OCP\IDb was removed * Extend IntegrationTest from \Test\Testcase, use loginAsUser to login * Require phpunit 5, nextcloud tests not compatible with phpunit 6 Change tests to use phpunit from vendor directory
2017-01-04Add updatedDate to item model (#81)Daniel Schaal
* Update picoFeed to v0.1.28 * Add updated_date to database and bump version to 10.1.1 * Add updatedDate to item model * Check for updatedDate when updating a feed * Fix unit test to check for newer updatedDate
2016-10-02revertBernhard Posselt
2016-10-01Add updatedDate to item model (#43)Daniel Schaal
* Update picoFeed to 0.1.25 * Add updated_date to database * Add updatedDate to item model * Bump version to 9.0.5 * Check for updatedDate when updating a feed * Fix unit test to check for newer updatedDate
2016-08-28Fix #24Bernhard Posselt
2016-07-23Adjust copyright headerBernhard Posselt
2016-07-23Move to new directory structureBernhard Posselt