From ea4b360658952cadda896a22cfa05eeccc1235c4 Mon Sep 17 00:00:00 2001 From: Dave Clark Date: Thu, 10 May 2018 11:31:49 +1000 Subject: [PATCH] Use alias for PHPUnit_Framework_TestCase PHPUnit >= 6 no longer supports `PHPUnit_Framework_TestCase` and has been replaced with `PHPUnit\Framework\TestCase`. See https://thephp.cc/news/2017/02/migrating-to-phpunit-6 for more information. --- library/Zend/Test/PHPUnit/ControllerTestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Zend/Test/PHPUnit/ControllerTestCase.php b/library/Zend/Test/PHPUnit/ControllerTestCase.php index 69976f0d93..0466defb78 100644 --- a/library/Zend/Test/PHPUnit/ControllerTestCase.php +++ b/library/Zend/Test/PHPUnit/ControllerTestCase.php @@ -34,6 +34,8 @@ /** @see Zend_Registry */ require_once 'Zend/Registry.php'; +use PHPUnit\Framework\TestCase as PHPUnit_Framework_TestCase; + /** * Functional testing scaffold for MVC applications *