forked from friendica/deprecated-addons
moved deprecated communityhome, dav and yourls to the deprecated-addons repository
This commit is contained in:
parent
24444adef3
commit
31520f804d
675 changed files with 195144 additions and 0 deletions
15
dav/SabreDAV/tests/Sabre/CalDAV/VersionTest.php
Normal file
15
dav/SabreDAV/tests/Sabre/CalDAV/VersionTest.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class Sabre_CalDAV_VersionTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
function testString() {
|
||||
|
||||
$v = Sabre_CalDAV_Version::VERSION;
|
||||
$this->assertEquals(-1, version_compare('1.0.0',$v));
|
||||
|
||||
$s = Sabre_CalDAV_Version::STABILITY;
|
||||
$this->assertTrue($s == 'alpha' || $s == 'beta' || $s =='stable');
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue