瀏覽代碼

Remove DBUnit dependencies

pull/7673/head
Philipp Holzer 2 年前
父節點
當前提交
04cf13e022
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: D8365C3D36B77D90
  1. 8
      tests/bootstrap.php

8
tests/bootstrap.php

@ -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);
}
載入中…
取消
儲存