Skip to content
Snippets Groups Projects
Commit 11dfc7d1 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

added yet another test for the verion compare check due to mail

parent 5bb248ef
Branches
No related tags found
Loading
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment