summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22242 from nextcloud/techdebt/noid/remove-deprecated-methodsGary Kim2020-08-142-18/+0
|\ | | | | Remove deprecated and unused method calls
| * Remove getLastJob from IJobListMorris Jobke2020-08-132-18/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix existing test and add a specific one for the new caseMorris Jobke2020-08-131-9/+72
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-eventMorris Jobke2020-08-132-6/+30
|\ | | | | Emit an event for every disabled 2FA provider during cleanup
| * Emit an event for every disabled 2FA provider during cleanupChristoph Wurst2020-06-162-6/+30
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-12165-888/+877
| | | | | | | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22117 from nextcloud/activity-settings-groupingMorris Jobke2020-08-111-1/+2
|\ \ | | | | | | allow grouping of activity settings
| * | allow grouping of activity settingsRobin Appelman2020-08-051-1/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Exclude apps/files_external/3rdparty againDaniel Kesselberg2020-08-101-0/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Rename Core/ to core/Daniel Kesselberg2020-08-101-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Exclude apps/*/tests for coverage calculationDaniel Kesselberg2020-08-101-22/+3
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-072-18/+18
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #22135 from nextcloud/enh/noid/occ-preview-repairMorris Jobke2020-08-071-0/+141
|\ \ \ | | | | | | | | Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
| * | | Add tests for occ preview:migrate - initial check for empty directoriesMorris Jobke2020-08-071-0/+141
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Add config option to enable multibucket preview distributionMorris Jobke2020-08-061-14/+21
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Mount the old previews in a separate folder for the multi bucket setup and ↵Morris Jobke2020-08-061-0/+106
|/ / / | | | | | | | | | | | | | | | check in them before using the actual locations Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #21598 from nextcloud/enh/20930/dashboard-dragJohn Molakvoæ2020-08-061-0/+2
|\ \ \
| * | | Dashboard app is disabled and there is no need to redirect to files appMorris Jobke2020-08-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Redirect to files app after login in acceptance testsJulius Härtl2020-08-052-1/+3
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #22008 from elijahnyp/OCImage_Leak_FixMorris Jobke2020-08-051-3/+2
|\ \ \ | |/ / |/| | Ensured large image is unloaded from memory when generating previews
| * | fix memory leak caused by not destroying image in Preview/Generate.phpElijah Martin-Merrill2020-07-271-3/+2
| | | | | | | | | | | | Signed-off-by: Elijah Martin-Merrill <elijah@nyp-itsours.com>
* | | Add user-status appGeorg Ehrke2020-07-311-2/+2
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-311-1/+0
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Fix overwriteService() for appsJoas Schilling2020-07-281-4/+11
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21940 from ↵Morris Jobke2020-07-242-14/+14
|\ \ | | | | | | | | | | | | nextcloud/fix/14541/fix-fragile-acceptance-tests-part1 Revert "Disable fragile tests for now" partially
| * | Revert "Disable fragile tests for now"Morris Jobke2020-07-212-14/+14
| | | | | | | | | | | | | | | | | | This reverts commit 40e04c83914e960b5aff739900d887f0e7a44d63. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #21972 from nextcloud/techdebt/noid/cleanup-phpunit-warningsMorris Jobke2020-07-2312-68/+30
|\ \ \ | | | | | | | | Fix PHPUnit deprecation warnings
| * | | Remove deprecated test of internal attributes via assertAttributeEquals in ↵Morris Jobke2020-07-233-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constructor tests I removed the tests completely because they just test that the constructor assigns the values to the internal properties. Nothing that should be cared about from the outside. See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322 It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Use assertEqualsCanonicalizing instead of deprecated assertEquals parameterMorris Jobke2020-07-231-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Remove deprecated test of internal attributes via assertAttributeEqualsMorris Jobke2020-07-232-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322 It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Use assertStringContainsString instead of assertContains on stringsMorris Jobke2020-07-236-18/+18
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #21628 from nextcloud/external-to-s3-trashbin-fixMorris Jobke2020-07-231-8/+2
|\ \ \ \ | | | | | | | | | | fix moving files from external storage to object store trashbin
| * | | | use exceptions for error signaling in writeStreamRobin Appelman2020-07-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this remove the ambiguity when writing zero length files Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | rollback cache rename if trashbin move failsRobin Appelman2020-07-231-7/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / / Adjust tests to new e-mail layoutSimon Spannagel2020-07-233-6/+6
|/ / / | | | | | | | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* | | Merge pull request #21870 from ↵Morris Jobke2020-07-221-1/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/bootstrap-context-container-interfaces Make the bootstrap context return ContainerInterface instances
| * | | Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-1/+2
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Hide share link menu before copying the share link in acceptance testsDaniel Calviño Sánchez2020-07-221-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The (old) Firefox version used in the acceptance tests does not properly render the share link menu. As the menu is taller than it should sometimes it covers the copy link button, so it is not possible to click it without hiding the share link menu. Moreover, in those cases the share menu button is also covered by the share menu, so the menu needs to be closed by pressing the "Esc" key. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Fix breaking changes of nc/vue updateGeorg Ehrke2020-07-225-10/+10
|/ / | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Remove outdated ui-regression testsJulius Härtl2020-07-2011-1179/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add real events to load additionalscriptsRoeland Jago Douma2020-07-151-9/+46
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move to lazy panel registration during registration contextJulius Härtl2020-07-151-0/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Delegate bootstrap registration lazilyChristoph Wurst2020-07-141-6/+0
| | | | | | | | | | | | | | | | | | | | * Keep the registration context * Expose the context object for other components * Ensure registration is only run once Search providers are migrated for demonstration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #21759 from nextcloud/enh/lazy_subscriptionRoeland Jago Douma2020-07-092-2/+75
|\ \ | | | | | | Make the subscription registry lazy
| * | Add DummySubscription for testsDaniel Kesselberg2020-07-092-0/+68
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Make the subscription registry lazyRoeland Jago Douma2020-07-091-2/+7
| | | | | | | | | | | | | | | | | | | | | This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | ensure mounts are scanned during testsRobin Appelman2020-07-092-1/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Use the correct mountpoint to calculateRoeland Jago Douma2020-07-091-0/+9
|/ / | | | | | | | | | | | | If we use the owners mount point this results in null. And then the rest of the checks get called with null. Which doesn't work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix supporting defaults for routesRoeland Jago Douma2020-07-081-14/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not create a RouteActionHandler object for each routeRoeland Jago Douma2020-07-071-4/+3
| | | | | | | | | | | | | | | | | | | | This is not required and doesn't allow us to be properly lazy. On top of it this doesnt allow us to cache the routes (since closures/objects can't be cached). This is the first small step into cleaning up the routing we have Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>