view vendor/sabre/vobject/tests/VObject/Parser/MimeDirTest.php @ 42:db1e51c59ddc

various small fixes from upgrades to PHP and/or hangover from fix to apt-get overwrite at beginning of the year somehow
author Charlie Root
date Sun, 26 Jan 2025 13:12:28 -0500
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'));

    }

}