]> source.dussan.org Git - nextcloud-server.git/commitdiff
added yet another test for the verion compare check due to mail
authorBernhard Posselt <nukeawhale@gmail.com>
Tue, 9 Apr 2013 08:41:25 +0000 (10:41 +0200)
committerBernhard Posselt <nukeawhale@gmail.com>
Fri, 12 Apr 2013 23:15:35 +0000 (01:15 +0200)
tests/lib/app.php

index c452d752c9f43cc13cc8749fd7242d9619ebe96b..90476e58ccc230c06ed9d84efef655af3a332d4b 100644 (file)
@@ -64,6 +64,14 @@ class Test_App extends PHPUnit_Framework_TestCase {
        }
 
 
+       public function testIsAppVersionCompatibleShouldWorkForPreAlpha(){
+               $oc = array(5, 0, 0);
+               $app = '4.93';
+
+               $this->assertTrue(OC_App::isAppVersionCompatible($oc, $app));
+       }
+
+
        public function testIsAppVersionCompatibleShouldFailOneVersionNumbers(){
                $oc = array(4, 3, 1);
                $app = '5';