fix: not->toHaveKeys() with nested keys (#2094)

This commit is contained in:
Mr PHP
2026-12-03 15:00:01 +01:00
committed by GitHub
parent 8c635c5ba0
commit edb56ae412
4 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ test('parallel', function () use ($run): void {
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$profileOutput = $run('tests/Fixtures/Suites/SuccessOnly.php', '--profile');
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 36 skipped, 1980 passed (4122 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 36 skipped, 1982 passed (4127 assertions)';
expect($output)
->toContain("Tests: {$expected}")