diff --git a/tests/lib/DB/ConnectionTest.php b/tests/lib/DB/ConnectionTest.php index e6893531ef2b..a5855afcaa00 100644 --- a/tests/lib/DB/ConnectionTest.php +++ b/tests/lib/DB/ConnectionTest.php @@ -12,7 +12,7 @@ use Doctrine\DBAL\Platforms\SqlitePlatform; use OC\DB\MDB2SchemaManager; use OCP\DB\QueryBuilder\IQueryBuilder; -use PHPUnit\Framework\Constraint\IsType; +use PHPUnit_Framework_Constraint_IsType as IsType; /** * Class Connection diff --git a/tests/lib/Files/Storage/LocalTest.php b/tests/lib/Files/Storage/LocalTest.php index 6303ea81b329..0f8595933d43 100644 --- a/tests/lib/Files/Storage/LocalTest.php +++ b/tests/lib/Files/Storage/LocalTest.php @@ -23,7 +23,7 @@ namespace Test\Files\Storage; use OC\Files\Storage\Local; -use PHPUnit\Framework\Constraint\IsType; +use PHPUnit_Framework_Constraint_IsType as IsType; /** * Class LocalTest