summaryrefslogtreecommitdiffstats
path: root/tests/lib/SetupTest.php
Commit message (Collapse)AuthorAgeFilesLines
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix unit testsJoas Schilling2021-04-271-10/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-9/+9
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add more test casesDaniel Kesselberg2018-09-301-1/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow url without / for overwrite.cli.urlDaniel Kesselberg2018-09-281-2/+9
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Change visibility to privateDaniel Kesselberg2018-09-131-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Restore previous state for OC::$CLIDaniel Kesselberg2018-09-111-0/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Change return false to throw newDaniel Kesselberg2018-09-101-5/+10
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Extract logic for webroot into method and add testDaniel Kesselberg2018-09-101-9/+35
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Get the Installer via DIMorris Jobke2017-11-251-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-8/+9
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-191-7/+7
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove useless dependency on SQLite (non-PDO)Morris Jobke2017-01-251-14/+2
| | | | | | | * we only require the PDO driver * fixes #481 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock SetupTestRoeland Jago Douma2016-09-071-9/+14
|
* fix testRobin Appelman2016-07-131-8/+8
|
* Fix lib/Joas Schilling2016-05-191-0/+135