We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 492336f commit f4a7411Copy full SHA for f4a7411
tests/Common/CsrfCounterMeasureTest.php
@@ -15,7 +15,7 @@ public function testTokenCreation()
15
$token = $this->createElement();
16
17
$this->assertInstanceOf(HiddenElement::class, $token);
18
- $this->assertMatchesRegularExpression(
+ $this->assertRegExp(
19
'/ value="[^"]+\|[^"]+"/',
20
(string) $token,
21
'The value is not rendered or does not contain a seed and a hash'
0 commit comments