Skip to content

Commit

Permalink
Update DontSerializeContainerExceptionTest.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Oct 9, 2024
1 parent 6e9da69 commit 14ee160
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Unit/Exception/DontSerializeContainerExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
use Tests\Unit\AbstractTestCase;
use Throwable;

use function serialize;

#[CoversClass(DontSerializeContainerException::class)]
#[CoversClass(Aliases::class)]
#[CoversClass(Bindings::class)]
Expand All @@ -47,6 +45,6 @@ public function testSerialize(): void
{
$this->assertException(DontSerializeContainerException::class);

self::assertNull(serialize($this->container));
self::assertNull(\serialize($this->container));
}
}

0 comments on commit 14ee160

Please sign in to comment.