view vendor/sabre/vobject/tests/VObject/Property/BinaryTest.php @ 31:b2d0a9781472

add whitelisting
author Charlie Root
date Tue, 13 Mar 2018 13:01:26 -0400
parents 430dbd5346f7
children
line wrap: on
line source

<?php

namespace Sabre\VObject\Property;

use Sabre\VObject;

class BinaryTest extends \PHPUnit_Framework_TestCase {

    /**
     * @expectedException \InvalidArgumentException
     */
    function testMimeDir() {

        $vcard = new VObject\Component\VCard();
        $vcard->add('PHOTO', array('a','b'));

    }

}