diff --git a/tests/TestCase/Panel/DeprecationsPanelTest.php b/tests/TestCase/Panel/DeprecationsPanelTest.php index 0eae1099..64aaf3a7 100644 --- a/tests/TestCase/Panel/DeprecationsPanelTest.php +++ b/tests/TestCase/Panel/DeprecationsPanelTest.php @@ -64,14 +64,9 @@ public function testShutdown() $this->assertArrayHasKey('vendor', $data); $this->assertArrayHasKey('plugins', $data); $this->assertArrayHasKey('other', $data); - $this->assertCount(3, $data['plugins']['DebugKit']); + $this->assertCount(1, $data['plugins']['DebugKit']); $error = $data['plugins']['DebugKit'][0]; - $this->assertStringContainsString('Something going away', $error['message']); - $this->assertArrayHasKey('niceFile', $error); - $this->assertArrayHasKey('line', $error); - - $error = $data['plugins']['DebugKit'][2]; $this->assertStringContainsString('Raw error', $error['message']); $this->assertArrayHasKey('niceFile', $error); $this->assertArrayHasKey('line', $error);