mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 11:53:16 +00:00
17 lines
331 B
PHP
17 lines
331 B
PHP
<?php
|
|
|
|
namespace Sabre\VObject;
|
|
|
|
class VersionTest extends \PHPUnit_Framework_TestCase {
|
|
|
|
function testString() {
|
|
|
|
$v = Version::VERSION;
|
|
$this->assertEquals(-1, version_compare('0.9.0',$v));
|
|
|
|
$s = Version::STABILITY;
|
|
$this->assertTrue($s == 'alpha' || $s == 'beta' || $s =='stable');
|
|
|
|
}
|
|
|
|
}
|