Use 'dev' version on the master branch

Allowed check branches are now `latest` and `stable`.
This commit is contained in:
ArthurHoaro 2017-03-12 15:02:06 +01:00
parent 7fc5f07492
commit b897c81f8c
4 changed files with 19 additions and 11 deletions

View file

@ -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)
);
}
}