Skip to content

Commit

Permalink
[HttpFactory] Fix test assetion
Browse files Browse the repository at this point in the history
  • Loading branch information
il-masaru-yamagishi committed Aug 17, 2024
1 parent 0fe34d2 commit 15f97e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HttpFactory/Tests/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public function testStreamFactoryFromResource(): void
{
$factory = new StreamFactory();
$resource = \fopen(__FILE__, 'r');
\assert(\is_resource($resource));
$stream = $factory->createStreamFromResource($resource);

self::assertSame(\file_get_contents(__FILE__), (string) $stream);
Expand Down

0 comments on commit 15f97e1

Please sign in to comment.