Skip to content

Commit 4bdde44

Browse files
committed
Use wrappers instead of deprecated assertRegExp methods
1 parent 2123542 commit 4bdde44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Lib/InnerBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,12 +624,12 @@ public function dontSeeCurrentUrlEquals($uri)
624624

625625
public function seeCurrentUrlMatches($uri)
626626
{
627-
\PHPUnit\Framework\Assert::assertRegExp($uri, $this->_getCurrentUri());
627+
$this->assertRegExp($uri, $this->_getCurrentUri());
628628
}
629629

630630
public function dontSeeCurrentUrlMatches($uri)
631631
{
632-
\PHPUnit\Framework\Assert::assertNotRegExp($uri, $this->_getCurrentUri());
632+
$this->assertNotRegExp($uri, $this->_getCurrentUri());
633633
}
634634

635635
public function grabFromCurrentUrl($uri = null)

0 commit comments

Comments
 (0)