Skip to content

Commit

Permalink
tests: Fix call to undefined method
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Aug 5, 2024
1 parent 492336f commit f4a7411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Common/CsrfCounterMeasureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testTokenCreation()
$token = $this->createElement();

$this->assertInstanceOf(HiddenElement::class, $token);
$this->assertMatchesRegularExpression(
$this->assertRegExp(
'/ value="[^"]+\|[^"]+"/',
(string) $token,
'The value is not rendered or does not contain a seed and a hash'
Expand Down

0 comments on commit f4a7411

Please sign in to comment.