summaryrefslogtreecommitdiffstats
path: root/tests/Core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Clean up single user modeMorris Jobke2017-02-223-144/+12
| | | | | | | | | | | | | | Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsJoas Schilling2017-01-121-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* User command enable/disable testsRoeland Jago Douma2016-12-302-0/+188
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add Group Command testsRoeland Jago Douma2016-12-293-0/+365
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add tests for 2FA commandsRoeland Jago Douma2016-12-202-0/+198
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2016-09-063-12/+12
| | | | | | * hasParameterOption has an additional default value which we must match in the return map * Fix deprecated getMock calls
* Fix depreccated getMock in Core/Command testsRoeland Jago Douma2016-09-0122-90/+167
|
* Renamed test classes for file logging tests.Thomas Pulzer2016-07-221-1/+1
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-222-6/+6
| | | | | | | | | | | | | | - Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
* Use argument instead of valueJoas Schilling2016-07-141-20/+18
|
* FIx my emailJoas Schilling2016-07-131-1/+1
|
* Add tests for set/get/delete/listJoas Schilling2016-07-131-5/+234
|
* Make sure the exception is catchedJoas Schilling2016-07-131-5/+31
|
* Add tests for checkInput()Joas Schilling2016-07-131-0/+211
|
* Changed name of default logfile from owncloud.log to nextcloud.log.Thomas Pulzer2016-07-041-2/+2
|
* Move tests/core/ to PSR-4Joas Schilling2016-05-1921-0/+3396