1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00

fix bad func name references

This commit is contained in:
Daniel Lowrey 2015-07-31 21:09:58 -04:00
parent 2ba3d873e1
commit 2ed5bae230
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ namespace Amp\Filesystem\Test;
class BlockingDriverTest extends DriverTest { class BlockingDriverTest extends DriverTest {
protected function setUp() { protected function setUp() {
\Amp\reactor(\Amp\init()); \Amp\reactor(\Amp\driver());
\Amp\Filesystem\filesystem(new \Amp\Filesystem\BlockingDriver); \Amp\Filesystem\filesystem(new \Amp\Filesystem\BlockingDriver);
} }
} }

View File

@ -5,7 +5,7 @@ namespace Amp\Filesystem\Test;
class EioDriverTest extends DriverTest { class EioDriverTest extends DriverTest {
protected function setUp() { protected function setUp() {
if (extension_loaded("eio")) { if (extension_loaded("eio")) {
\Amp\reactor(\Amp\init()); \Amp\reactor(\Amp\driver());
\Amp\Filesystem\filesystem(new \Amp\Filesystem\EioDriver); \Amp\Filesystem\filesystem(new \Amp\Filesystem\EioDriver);
} else { } else {
$this->markTestSkipped( $this->markTestSkipped(