aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ApplicationUtilsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ApplicationUtilsTest.php')
-rw-r--r--tests/ApplicationUtilsTest.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ApplicationUtilsTest.php b/tests/ApplicationUtilsTest.php
index ad86e21c..ef4f46a8 100644
--- a/tests/ApplicationUtilsTest.php
+++ b/tests/ApplicationUtilsTest.php
@@ -332,4 +332,15 @@ class ApplicationUtilsTest extends PHPUnit_Framework_TestCase
332 ApplicationUtils::checkResourcePermissions($conf) 332 ApplicationUtils::checkResourcePermissions($conf)
333 ); 333 );
334 } 334 }
335
336 /**
337 * Check update with 'dev' as curent version (master branch).
338 * It should always return false.
339 */
340 public function testCheckUpdateDev()
341 {
342 $this->assertFalse(
343 ApplicationUtils::checkUpdate('dev', self::$testUpdateFile, 100, true, true)
344 );
345 }
335} 346}