summaryrefslogtreecommitdiffstats
path: root/tests/lib/Updater
Commit message (Collapse)AuthorAgeFilesLines
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-122-5/+5
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+8
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-22/+22
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add message for DoesNotExistExceptionDaniel Kesselberg2020-03-021-0/+17
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* when we receive intentional empty whats new info, do not try to show itArthur Schiwon2020-02-131-0/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Mode to modern phpunitRoeland Jago Douma2019-11-272-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not check for updates if we have no internetRoeland Jago Douma2019-11-201-24/+64
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Backend work to provide NC whats New info to usersArthur Schiwon2018-07-051-2/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testsArthur Schiwon2018-06-291-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-292-6/+348
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testsArthur Schiwon2018-06-291-0/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Show EOL warning in the update sectionJoas Schilling2018-03-201-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cache final result of update checkMorris Jobke2017-12-181-1/+52
| | | | | | | | If the parsed data is not a valid response we should not cache it and only cache the preprocessed result set. Fixes #7442 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the URLs in tests to use example.orgMorris Jobke2017-08-011-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Document updater channel & check for correct PHP version in updaterMorris Jobke2016-12-061-1/+1
| | | | | | * see https://github.com/nextcloud/updater/issues/53 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the same URL everywhereJoas Schilling2016-09-271-8/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Return the autoupdater value from the serverJoas Schilling2016-09-271-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change updater URLJoas Schilling2016-09-081-12/+12
|
* Fix getMock UpdaterRoeland Jago Douma2016-09-071-2/+4
|
* fix testsMorris Jobke2016-09-071-12/+12
|
* Deprecate getEditionString()Joas Schilling2016-09-061-1/+1
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+261
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader