Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 6, 2018
1 parent 71b862d commit b2d9bbb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tests/TestCase/Error/DebuggerTest.php
Expand Up @@ -356,26 +356,10 @@ public function testExportVar()
$result = Debugger::exportVar($View);
$expected = <<<TEXT
object(Cake\View\View) {
Blocks => object(Cake\View\ViewBlock) {}
plugin => null
name => ''
passedArgs => []
helpers => [
(int) 0 => 'Html',
(int) 1 => 'Form'
]
templatePath => null
template => null
layout => 'default'
layoutPath => null
autoLayout => true
subDir => null
theme => null
hasRendered => false
uuids => []
request => object(Cake\Http\ServerRequest) {}
response => object(Cake\Http\Response) {}
elementCache => 'default'
viewClass => null
viewVars => []
Html => object(Cake\View\Helper\HtmlHelper) {}
Expand All @@ -384,7 +368,23 @@ public function testExportVar()
float => (float) 1.333
string => ' '
[protected] _helpers => object(Cake\View\HelperRegistry) {}
[protected] Blocks => object(Cake\View\ViewBlock) {}
[protected] helpers => [
(int) 0 => 'Html',
(int) 1 => 'Form'
]
[protected] templatePath => null
[protected] template => null
[protected] layout => 'default'
[protected] layoutPath => null
[protected] autoLayout => true
[protected] _ext => '.ctp'
[protected] subDir => ''
[protected] theme => null
[protected] hasRendered => false
[protected] request => object(Cake\Http\ServerRequest) {}
[protected] response => object(Cake\Http\Response) {}
[protected] elementCache => 'default'
[protected] _passedVars => [
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
Expand Down

0 comments on commit b2d9bbb

Please sign in to comment.