mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-25 18:20:16 +00:00
16 lines
343 B
PHP
16 lines
343 B
PHP
|
<?php
|
||
|
|
||
|
class Sabre_DAVACL_VersionTest extends PHPUnit_Framework_TestCase {
|
||
|
|
||
|
function testString() {
|
||
|
|
||
|
$v = Sabre_DAVACL_Version::VERSION;
|
||
|
$this->assertEquals(-1, version_compare('1.0.0',$v));
|
||
|
|
||
|
$s = Sabre_DAVACL_Version::STABILITY;
|
||
|
$this->assertTrue($s == 'alpha' || $s == 'beta' || $s =='stable');
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|