comparison vendor/sabre/vobject/tests/VObject/AttachIssueTest.php @ 7:430dbd5346f7

vendor sabre as distributed
author Charlie Root
date Sat, 13 Jan 2018 09:06:10 -0500
parents
children
comparison
equal deleted inserted replaced
6:cec75ba50afc 7:430dbd5346f7
1 <?php
2
3 namespace Sabre\VObject;
4
5 class AttachIssueTest extends \PHPUnit_Framework_TestCase {
6
7 function testRead() {
8
9 $event = <<<ICS
10 BEGIN:VCALENDAR\r
11 BEGIN:VEVENT\r
12 ATTACH;FMTTYPE=;ENCODING=:Zm9v\r
13 END:VEVENT\r
14 END:VCALENDAR\r
15
16 ICS;
17 $obj = Reader::read($event);
18 $this->assertEquals($event, $obj->serialize());
19
20 }
21
22 }