From 7bc0079b267cb48ad9a6b3d58118c2d11f755f54 Mon Sep 17 00:00:00 2001 From: Klimov Paul Date: Wed, 12 Apr 2017 18:07:32 +0300 Subject: [PATCH] Compatibility with PHPUnit 6.x adjusted --- tests/TestCase.php | 2 +- tests/compatibility.php | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 3b9ba78..0f0bd48 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,7 +4,7 @@ namespace yiiunit\extensions\swiftmailer; use yii\helpers\ArrayHelper; -abstract class TestCase extends \PHPUnit_Framework_TestCase +abstract class TestCase extends \PHPUnit\Framework\TestCase { /** * Clean up after test. diff --git a/tests/compatibility.php b/tests/compatibility.php index 9141b4f..152645a 100644 --- a/tests/compatibility.php +++ b/tests/compatibility.php @@ -1,12 +1,16 @@