mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Update auf neue Sabredav 1.8
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Sabre\DAV;
|
||||
|
||||
class UUIDUtilTest extends \PHPUnit_Framework_TestCase {
|
||||
|
||||
function testValidateUUID() {
|
||||
|
||||
$this->assertTrue(
|
||||
UUIDUtil::validateUUID('11111111-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertFalse(
|
||||
UUIDUtil::validateUUID(' 11111111-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertTrue(
|
||||
UUIDUtil::validateUUID('ffffffff-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertFalse(
|
||||
UUIDUtil::validateUUID('fffffffg-2222-3333-4444-555555555555')
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user