Use 'dev' version on the master branch
Allowed check branches are now `latest` and `stable`.
This commit is contained in:
parent
7fc5f07492
commit
b897c81f8c
4 changed files with 19 additions and 11 deletions
|
@ -332,4 +332,15 @@ class ApplicationUtilsTest extends PHPUnit_Framework_TestCase
|
|||
ApplicationUtils::checkResourcePermissions($conf)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check update with 'dev' as curent version (master branch).
|
||||
* It should always return false.
|
||||
*/
|
||||
public function testCheckUpdateDev()
|
||||
{
|
||||
$this->assertFalse(
|
||||
ApplicationUtils::checkUpdate('dev', self::$testUpdateFile, 100, true, true)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue