mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Update RequestHandler tests for new View classes.
This commit is contained in:
parent
c1f5dc1e40
commit
b0d0e06b97
1 changed files with 1 additions and 2 deletions
|
@ -412,8 +412,7 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
|
||||
$this->RequestHandler->renderAs($this->Controller, 'xml', array('attachment' => 'myfile.xml'));
|
||||
|
||||
$expected = 'RequestHandlerTest' . DS . 'xml';
|
||||
$this->assertEquals($expected, $this->Controller->viewPath);
|
||||
$this->assertEquals('Xml', $this->Controller->viewClass);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue