Skip to content

Commit a907592

Browse files
committed
test: remove redundant test/assertion in HarTest
Remove assertNotSame assertion in testCloneBrowserIsDeep as the deep clone behavior is already verified by the subsequent modification test.
1 parent 819eea4 commit a907592

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/src/Unit/HarTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ public function testCloneBrowserIsDeep(): void
7474
// Clone the HAR
7575
$cloned = clone $har;
7676

77-
// Verify the Browser object is a different instance
78-
$this->assertNotSame($har->getLog()->getBrowser(), $cloned->getLog()->getBrowser());
79-
8077
// Modify the cloned HAR's browser version
8178
$cloned->getLog()->getBrowser()->setVersion('modified-version');
8279

0 commit comments

Comments
 (0)