Skip to content

Commit 298566a

Browse files
committed
fix test
1 parent b40688a commit 298566a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/TestCase/Middleware/DebugKitMiddlewareTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ public function testInvokeSaveData()
126126
$this->assertSame(200, $result->status_code);
127127
$this->assertGreaterThan(1, $result->panels);
128128

129-
$this->assertSame('Timer', $result->panels[11]->panel);
130-
$this->assertSame('DebugKit.timer_panel', $result->panels[11]->element);
131-
$this->assertNotNull($result->panels[11]->summary);
132-
$this->assertSame('Timer', $result->panels[11]->title);
129+
$this->assertSame('Timer', $result->panels[10]->panel);
130+
$this->assertSame('DebugKit.timer_panel', $result->panels[10]->element);
131+
$this->assertNotNull($result->panels[10]->summary);
132+
$this->assertSame('Timer', $result->panels[10]->title);
133133

134134
$timeStamp = filectime(Plugin::path('DebugKit') . 'webroot' . DS . 'js' . DS . 'inject-iframe.js');
135135

0 commit comments

Comments
 (0)