Skip to content

Commit f4a7411

Browse files
committed
tests: Fix call to undefined method
1 parent 492336f commit f4a7411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Common/CsrfCounterMeasureTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function testTokenCreation()
1515
$token = $this->createElement();
1616

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

0 commit comments

Comments
 (0)