forked from friendica/friendica-addons
16 lines
337 B
PHP
16 lines
337 B
PHP
|
<?php
|
||
|
|
||
|
class Sabre_HTTP_VersionTest extends PHPUnit_Framework_TestCase {
|
||
|
|
||
|
function testString() {
|
||
|
|
||
|
$v = Sabre_HTTP_Version::VERSION;
|
||
|
$this->assertEquals(-1, version_compare('1.0.0',$v));
|
||
|
|
||
|
$s = Sabre_HTTP_Version::STABILITY;
|
||
|
$this->assertTrue($s == 'alpha' || $s == 'beta' || $s =='stable');
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|