Skip to content

Commit 70e851f

Browse files
authored
Merge pull request #1002 from cakephp/fix-build
Fix tests.
2 parents 7e62285 + 0d13063 commit 70e851f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/TestCase/Panel/DeprecationsPanelTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,9 @@ public function testShutdown()
6464
$this->assertArrayHasKey('vendor', $data);
6565
$this->assertArrayHasKey('plugins', $data);
6666
$this->assertArrayHasKey('other', $data);
67-
$this->assertCount(3, $data['plugins']['DebugKit']);
67+
$this->assertCount(1, $data['plugins']['DebugKit']);
6868

6969
$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];
7570
$this->assertStringContainsString('Raw error', $error['message']);
7671
$this->assertArrayHasKey('niceFile', $error);
7772
$this->assertArrayHasKey('line', $error);

0 commit comments

Comments
 (0)