summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-12-05 23:46:20 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-12-06 00:19:13 +0100
commit7aa510b2f04bbe5e71021f41bf9f8be6c3da9ed5 (patch)
tree91cd24b2804665e61a8990c1236c10ac94982040 /tests/lib
parent572b078de7e139de748ea829876b4b1b04b306bb (diff)
downloadnextcloud-server-7aa510b2f04bbe5e71021f41bf9f8be6c3da9ed5.tar.gz
nextcloud-server-7aa510b2f04bbe5e71021f41bf9f8be6c3da9ed5.zip
Document updater channel & check for correct PHP version in updater
* see https://github.com/nextcloud/updater/issues/53 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Updater/VersionCheckTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php
index c85516c320e..79c0a88dbf6 100644
--- a/tests/lib/Updater/VersionCheckTest.php
+++ b/tests/lib/Updater/VersionCheckTest.php
@@ -52,7 +52,7 @@ class VersionCheckTest extends \Test\TestCase {
* @return string
*/
private function buildUpdateUrl($baseUrl) {
- return $baseUrl . '?version='.implode('x', Util::getVersion()).'xinstalledatxlastupdatedatx'.\OC_Util::getChannel().'xx';
+ return $baseUrl . '?version='.implode('x', Util::getVersion()).'xinstalledatxlastupdatedatx'.\OC_Util::getChannel().'xxx'.PHP_MAJOR_VERSION.'x'.PHP_MINOR_VERSION.'x'.PHP_RELEASE_VERSION;
}
public function testCheckInCache() {