summaryrefslogtreecommitdiffstats
path: root/tests/Unit
AgeCommit message (Collapse)Author
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-03-21fix unit testsBernhard Posselt
2017-01-04Add postprocessor for getting lwn subscriber articles (#72)Robin Appelman
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-11-18Throw ServiceNotFoundException when marking non-existent item as read (#61)Daniel Schaal
* Throw ServiceNotFoundException when marking non-existent item as read Fixes #58 * Add test case for marking non-existent item as read
2016-11-18Use createMock() instead of deprecated getMock() (#62)Daniel Schaal
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-28Merge pull request #25 from nextcloud/updated-apiBernhard Posselt
Fix #24
2016-08-28Fix #24Bernhard Posselt
2016-08-25Delete UpgradeTest.phpBernhard Posselt
2016-08-23Fix #209.0.2Bernhard Posselt
2016-08-18Try without 64bit requirementBernhard Posselt
2016-07-23removing owncloud references and updating linksBernhard Posselt
2016-07-23Adjust copyright headerBernhard Posselt
2016-07-23Move to new directory structureBernhard Posselt