Skip to content

Commit 177f3eb

Browse files
committed
Return actual promise
1 parent 4d31573 commit 177f3eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Stream/StreamFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function testCreateRead()
1515
->expects($this->once())
1616
->method('stat')
1717
->with('foo.bar')
18-
->will($this->returnValue($this->getMock('React\Promise\PromiseInterface')))
18+
->will($this->returnValue(\React\Promise\resolve([])))
1919
;
2020

2121
$this->assertInstanceOf(

0 commit comments

Comments
 (0)