|
|
@ -24,7 +24,7 @@ include_once __DIR__ . '/../../lib/account.inc'; |
|
|
|
include_once __DIR__ . '/../../lib/security.inc'; |
|
|
|
|
|
|
|
/** |
|
|
|
* LAMConfig test case. |
|
|
|
* account.inc test cases. |
|
|
|
* |
|
|
|
* @author Roland Gruber |
|
|
|
*/ |
|
|
@ -155,4 +155,13 @@ class AccountTest extends TestCase { |
|
|
|
$this->assertFalse(isCommandlineSafeEmailAddress('test+abc@example.com')); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Tests isDeveloperVersion() |
|
|
|
*/ |
|
|
|
function testIsDeveloperVersion() { |
|
|
|
$this->assertFalse(isDeveloperVersion('0.4.1')); |
|
|
|
$this->assertFalse(isDeveloperVersion('3.2.RC1')); |
|
|
|
$this->assertTrue(isDeveloperVersion('4.5.DEV')); |
|
|
|
} |
|
|
|
|
|
|
|
} |