Skip to content

Commit e79e660

Browse files
claudedeviantintegral
authored andcommitted
test: remove redundant test/assertion in HarTest
Remove assertCount(1, $splitHar->getLog()->getEntries()) assertion from testSplitLogEntries as the entry count is implicitly verified by the fixture-based tests.
1 parent ef4bd60 commit e79e660

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/src/Unit/HarTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ public function testSplitLogEntries(): void
5353
$splitHars[$index] = $splitHar;
5454
}
5555

56-
// Verify each split HAR has only one entry
56+
// Verify it's a different instance (cloned)
5757
foreach ($splitHars as $splitHar) {
58-
$this->assertCount(1, $splitHar->getLog()->getEntries());
59-
// Verify it's a different instance (cloned)
6058
$this->assertNotSame($har, $splitHar);
6159
}
6260
}

0 commit comments

Comments
 (0)