view vendor/sabre/vobject/tests/VObject/Parser/MimeDirTest.php @ 45:e11491f625b0

add info action, one 7.3 -> 8.4 nit
author Charlie Root
date Thu, 28 Aug 2025 10:40:29 -0400
parents 430dbd5346f7
children
line wrap: on
line source

<?php

namespace Sabre\VObject\Parser;

/**
 * Note that most MimeDir related tests can actually be found in the ReaderTest
 * class one level up.
 */
class MimeDirTest extends \PHPUnit_Framework_TestCase {

    /**
     * @expectedException \Sabre\VObject\ParseException
     */
    function testParseError() {

        $mimeDir = new MimeDir();
        $mimeDir->parse(fopen(__FILE__,'a'));

    }

}