summaryrefslogtreecommitdiffstats
path: root/tests/lib/AppTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-101-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-152/+152
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix recursive calls in logging via server methodsJoas Schilling2020-03-181-4/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-0/+1
| | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix testsJohn Molakvoæ (skjnldsv)2019-12-101-2/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move settings to an appChristoph Wurst2019-09-281-2/+7
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Properly inject the loggerMorris Jobke2019-07-161-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* always enable cloud federation apiBjoern Schiessle2018-07-021-2/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix appinfo parsing when a single localized option is providedRobin Appelman2018-04-171-0/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix app version to be always string and neither array nor nullMorris Jobke2018-02-171-13/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsLukas Reschke2017-05-201-2/+7
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix testsJoas Schilling2017-01-131-8/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust unit testsLukas Reschke2016-11-211-2/+6
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add a signer class for signingLukas Reschke2016-11-211-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add update supportLukas Reschke2016-10-311-0/+34
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Make AppConfig part of the public APIJoas Schilling2016-10-211-2/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure all tests use the TestCase method to overwrite servicesJoas Schilling2016-10-201-12/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix getMock AppTestsRoeland Jago Douma2016-09-131-7/+6
|
* Fix AppTest and intergration testRoeland Jago Douma2016-09-051-2/+7
|
* fix enabled apps testsMorris Jobke2016-07-271-0/+5
|
* fix unit testsMorris Jobke2016-07-261-2/+2
|
* FIx lib/ a-dJoas Schilling2016-05-191-0/+549