]> git.mxchange.org Git - friendica.git/commitdiff
Remove DBUnit dependencies
authorPhilipp Holzer <admin+github@philipp.info>
Sat, 28 Sep 2019 23:57:45 +0000 (01:57 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sat, 28 Sep 2019 23:57:45 +0000 (01:57 +0200)
tests/bootstrap.php

index ada2b1a0ec6852af6cc387841ef464ce51077e1d..a839dbed73c832fcfa8ab773bc154a6fd1b251a0 100644 (file)
@@ -3,17 +3,9 @@
  * This file is loaded by PHPUnit before any test.
  */
 
-use PHPUnit\DbUnit\DataSet\YamlDataSet;
-use PHPUnit\DbUnit\TestCaseTrait;
 use PHPUnit\Framework\TestCase;
 
 // Backward compatibility
 if (!class_exists(TestCase::class)) {
        class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
 }
-if (!trait_exists(TestCaseTrait::class)) {
-       class_alias(PHPUnit_Extensions_Database_TestCase_Trait::class, TestCaseTrait::class);
-}
-if (!class_exists(YamlDataSet::class)) {
-       class_alias(PHPUnit_Extensions_Database_DataSet_YamlDataSet::class, YamlDataSet::class);
-}