summaryrefslogtreecommitdiffstats
path: root/tests/lib/updater.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-18 15:26:54 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-18 15:26:54 +0100
commited98cdf532ae475f4d5f5ec88afa55972cba3ba2 (patch)
tree10b3d7ce4862c6336938aee98efb7a9d34729048 /tests/lib/updater.php
parenta743047e8228fb4973d99e0101dec5e6c39f81b9 (diff)
downloadnextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.tar.gz
nextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.zip
Use OCP\Util::getVersion instead of the internal private implementation
Diffstat (limited to 'tests/lib/updater.php')
-rw-r--r--tests/lib/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/updater.php b/tests/lib/updater.php
index 14ae3db3276..313ffb65738 100644
--- a/tests/lib/updater.php
+++ b/tests/lib/updater.php
@@ -66,7 +66,7 @@ class UpdaterTest extends \Test\TestCase {
* @return string
*/
private function buildUpdateUrl($baseUrl) {
- return $baseUrl . '?version='.implode('x', \OC_Util::getVersion()).'xinstalledatxlastupdatedatx'.\OC_Util::getChannel().'x'.\OC_Util::getEditionString().'x';
+ return $baseUrl . '?version='.implode('x', \OCP\Util::getVersion()).'xinstalledatxlastupdatedatx'.\OC_Util::getChannel().'x'.\OC_Util::getEditionString().'x';
}
/**