aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Updater/VersionCheckTest.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-131-18/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(updatenotification): spread the use of new appconfigMaxence Lange2024-03-131-100/+101
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Print log message when version could not be got from updater serverDaniel Calviño Sánchez2023-09-061-0/+5
| | | | | | | | | This could help to diagnose why the updater server could not be reached, as well as other subtler issues like requests taking too long if the updater server was tried to be connected to as a "side effect" (for example, when the "updatenotification" app boots). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add instance category while checking new updatesBenjamin Gaussorgues2023-07-181-7/+20
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Adapt tests to config value typingCôme Chilliet2023-04-051-5/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix types for reading and writing config valuesjld31032023-04-051-10/+10
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Remove deprecated at matcher in Updater/VersionCheckTest.phpCôme Chilliet2022-08-291-107/+111
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-2/+2
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-22/+22
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | 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>
* 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>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-291-6/+4
| | | | 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