Skip to content

Commit

Permalink
Since we now use get_debug_type() for some errors, adjusting associ…
Browse files Browse the repository at this point in the history
…ated test expectations

Signed-off-by: Marco Pivetta <ocramius@gmail.com>
  • Loading branch information
Ocramius committed Nov 19, 2022
1 parent 2145694 commit 6e5e3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Generator/ValueGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public function getEscapedParameters()
public function invalidValue(): Generator
{
yield 'object' => [new DateTime(), DateTime::class];
yield 'resource' => [fopen('php://input', 'r'), 'resource'];
yield 'resource' => [fopen('php://input', 'r'), 'resource (stream)'];
}

/**
Expand Down

0 comments on commit 6e5e3e2

Please sign in to comment.