mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
Fix unit test
This commit is contained in:
parent
7bde877610
commit
30189e4a0f
1 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue