Skip to content

Commit

Permalink
Ensure that a new instance was created
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Bestle <[email protected]>
  • Loading branch information
bastianallgeier and lukasbestle committed Jun 25, 2024
1 parent 50e5daf commit b367b05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Content/ContentStorageHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ public function testFrom()
// create a new handler with all the versions from the first one
$handlerB = TestContentStorageHandler::from($handlerA);

$this->assertNotSame($handlerA, $handlerB);

$this->assertSame($publishedEN, $handlerB->read($versionPublished, $en));
$this->assertSame($publishedDE, $handlerB->read($versionPublished, $de));

Expand Down

0 comments on commit b367b05

Please sign in to comment.