Skip to content

Commit

Permalink
Merge pull request #1002 from cakephp/fix-build
Browse files Browse the repository at this point in the history
Fix tests.
  • Loading branch information
markstory authored May 6, 2024
2 parents 7e62285 + 0d13063 commit 70e851f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/TestCase/Panel/DeprecationsPanelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 70e851f

Please sign in to comment.