From 2ed5bae2306e7349dde2313f1f907d5a88e6629a Mon Sep 17 00:00:00 2001 From: Daniel Lowrey Date: Fri, 31 Jul 2015 21:09:58 -0400 Subject: [PATCH] fix bad func name references --- test/BlockingDriverTest.php | 2 +- test/EioDriverTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/BlockingDriverTest.php b/test/BlockingDriverTest.php index a9050f9..708a7ed 100644 --- a/test/BlockingDriverTest.php +++ b/test/BlockingDriverTest.php @@ -4,7 +4,7 @@ namespace Amp\Filesystem\Test; class BlockingDriverTest extends DriverTest { protected function setUp() { - \Amp\reactor(\Amp\init()); + \Amp\reactor(\Amp\driver()); \Amp\Filesystem\filesystem(new \Amp\Filesystem\BlockingDriver); } } diff --git a/test/EioDriverTest.php b/test/EioDriverTest.php index 1e6280f..3ba0659 100644 --- a/test/EioDriverTest.php +++ b/test/EioDriverTest.php @@ -5,7 +5,7 @@ namespace Amp\Filesystem\Test; class EioDriverTest extends DriverTest { protected function setUp() { if (extension_loaded("eio")) { - \Amp\reactor(\Amp\init()); + \Amp\reactor(\Amp\driver()); \Amp\Filesystem\filesystem(new \Amp\Filesystem\EioDriver); } else { $this->markTestSkipped(