mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing a group test case to show how to create one, and to make pass TestManager test case
This commit is contained in:
parent
fd4a82d6e9
commit
b53d21ff52
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ App::import('Helper', 'Xml');
|
|||
* @package cake
|
||||
* @subpackage cake.tests.cases.libs.view.helpers
|
||||
*/
|
||||
class TestXml extends Object {
|
||||
class TestXmlHelper extends Object {
|
||||
|
||||
/**
|
||||
* content property
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* @package cake
|
||||
* @subpackage cake.tests.groups
|
||||
*/
|
||||
class XmlGroupTest extends TestSuite {
|
||||
class XmlGroupTest extends PHPUnit_Framework_TestSuite {
|
||||
|
||||
/**
|
||||
* label property
|
||||
|
@ -37,12 +37,12 @@ class XmlGroupTest extends TestSuite {
|
|||
public $label = 'Xml based classes (Xml, XmlHelper and RssHelper)';
|
||||
|
||||
/**
|
||||
* XmlGroupTest method
|
||||
* __construct method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function XmlGroupTest() {
|
||||
function __construct() {
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'xml');
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS .'rss');
|
||||
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS .'xml');
|
||||
|
|
Loading…
Reference in a new issue