We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e62285 + 0d13063 commit 70e851fCopy full SHA for 70e851f
1 file changed
tests/TestCase/Panel/DeprecationsPanelTest.php
@@ -64,14 +64,9 @@ public function testShutdown()
64
$this->assertArrayHasKey('vendor', $data);
65
$this->assertArrayHasKey('plugins', $data);
66
$this->assertArrayHasKey('other', $data);
67
- $this->assertCount(3, $data['plugins']['DebugKit']);
+ $this->assertCount(1, $data['plugins']['DebugKit']);
68
69
$error = $data['plugins']['DebugKit'][0];
70
- $this->assertStringContainsString('Something going away', $error['message']);
71
- $this->assertArrayHasKey('niceFile', $error);
72
- $this->assertArrayHasKey('line', $error);
73
-
74
- $error = $data['plugins']['DebugKit'][2];
75
$this->assertStringContainsString('Raw error', $error['message']);
76
$this->assertArrayHasKey('niceFile', $error);
77
$this->assertArrayHasKey('line', $error);
0 commit comments