Fix unit test

This commit is contained in:
Robin Appelman 2014-08-27 12:25:19 +02:00
commit 30189e4a0f

View file

@ -35,10 +35,10 @@ class IteratorDirectory extends \PHPUnit_Framework_TestCase {
/**
* @expectedException \BadMethodCallException
*/
public function testInvalidSource() {
public function testNoSource() {
$context = stream_context_create(array(
'dir' => array(
'array' => 2
'foo' => 'bar'
)
));
stream_wrapper_register('iterator', '\Icewind\Streams\IteratorDirectory');