test: Not using CakeHtmlReporter, because it is not compatible with PHPUnit 9.

This commit is contained in:
Koji Tanaka 2022-12-31 12:54:25 +09:00 committed by Kamil Wylegala
parent 927b57fa14
commit c194e9b63e

View file

@ -19,7 +19,6 @@
*/ */
App::uses('CakePlugin', 'Core'); App::uses('CakePlugin', 'Core');
App::uses('Controller', 'Controller'); App::uses('Controller', 'Controller');
App::uses('CakeHtmlReporter', 'TestSuite/Reporter');
App::uses('Model', 'Model'); App::uses('Model', 'Model');
/** /**
@ -80,16 +79,6 @@ class CakeTestCaseTest extends CakeTestCase {
require_once CAKE . 'Test' . DS . 'Fixture' . DS . 'FixturizedTestCase.php'; require_once CAKE . 'Test' . DS . 'Fixture' . DS . 'FixturizedTestCase.php';
} }
/**
* setUp
*
* @return void
*/
public function setUp() : void {
parent::setUp();
$this->Reporter = $this->getMock('CakeHtmlReporter');
}
/** /**
* tearDown * tearDown
* *
@ -98,7 +87,6 @@ class CakeTestCaseTest extends CakeTestCase {
public function tearDown() : void { public function tearDown() : void {
parent::tearDown(); parent::tearDown();
unset($this->Result); unset($this->Result);
unset($this->Reporter);
} }
/** /**