Skip to content
Snippets Groups Projects
Commit be47f770 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #2811 from owncloud/app-version-check

added yet another test for the verion compare check due to mail
parents 6ba391c8 721cbe82
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,14 @@ class Test_App extends PHPUnit_Framework_TestCase {
}
public function testIsAppVersionCompatibleShouldWorkForPreAlpha(){
$oc = array(5, 0, 3);
$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.
Finish editing this message first!
Please register or to comment