1
0
mirror of https://github.com/danog/file.git synced 2025-01-22 13:21:13 +01:00

Forgot Eio tests

This commit is contained in:
Aaron Piotrowski 2020-07-06 13:28:39 -05:00
parent 1a6558c113
commit 701e1c974e
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ namespace Amp\File\Test\Driver;
use Amp\File;
use Amp\File\Driver\EioDriver;
use Amp\File\Test\DriverTest;
use Amp\Loop;
class EioDriverTest extends DriverTest
{
@ -14,6 +15,6 @@ class EioDriverTest extends DriverTest
$this->markTestSkipped("eio extension not loaded");
}
return new EioDriver;
return new EioDriver(Loop::get());
}
}

View File

@ -5,6 +5,7 @@ namespace Amp\File\Test\Driver;
use Amp\File;
use Amp\File\Driver\EioDriver;
use Amp\File\Test\AsyncFileTest;
use Amp\Loop;
class EioFileTest extends AsyncFileTest
{
@ -14,6 +15,6 @@ class EioFileTest extends AsyncFileTest
$this->markTestSkipped("eio extension not loaded");
}
return new EioDriver;
return new EioDriver(Loop::get());
}
}