view vendor/sabre/vobject/tests/VObject/AttachIssueTest.php @ 41:d2414df68d78

Updated by Alex S Grebenschikov (www.poralix.com) to make it compatible with RoundCube 1.3.0
author Charlie Root
date Fri, 24 Jan 2025 14:20:15 -0500
parents 430dbd5346f7
children
line wrap: on
line source

<?php

namespace Sabre\VObject;

class AttachIssueTest extends \PHPUnit_Framework_TestCase {

    function testRead() {

        $event = <<<ICS
BEGIN:VCALENDAR\r
BEGIN:VEVENT\r
ATTACH;FMTTYPE=;ENCODING=:Zm9v\r
END:VEVENT\r
END:VCALENDAR\r

ICS;
        $obj = Reader::read($event);
        $this->assertEquals($event, $obj->serialize());

    }

}