mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 03:52:41 +00:00
Updating component tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6271 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
658b98e361
commit
d38bb91d1c
2 changed files with 23 additions and 5 deletions
|
@ -41,8 +41,9 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
}
|
||||
|
||||
function testRenderAs() {
|
||||
$this->assertFalse(in_array('Xml', $this->Controller->helpers));
|
||||
$this->RequestHandler->renderAs($this->Controller, 'xml');
|
||||
$this->assertEqual($this->Controller->helpers, array('Html', 'Xml'));
|
||||
$this->assertTrue(in_array('Xml', $this->Controller->helpers));
|
||||
}
|
||||
|
||||
function tearDown() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue