mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Initial Release of the calendar plugin
This commit is contained in:
parent
45cc9885fc
commit
7115197a33
561 changed files with 189494 additions and 0 deletions
17
dav/SabreDAV/tests/Sabre/DAV/SimpleFileTest.php
Normal file
17
dav/SabreDAV/tests/Sabre/DAV/SimpleFileTest.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
class Sabre_DAV_SimpleFileTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
function testAll() {
|
||||
|
||||
$file = new Sabre_DAV_SimpleFile('filename.txt','contents','text/plain');
|
||||
|
||||
$this->assertEquals('filename.txt', $file->getName());
|
||||
$this->assertEquals('contents', $file->get());
|
||||
$this->assertEquals('8', $file->getSize());
|
||||
$this->assertEquals('"' . md5('contents') . '"', $file->getETag());
|
||||
$this->assertEquals('text/plain', $file->getContentType());
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue