Merge pull request #17 from Lumbendil/fix-mink-dictionary
Fixed the mink dictionary trait
This commit is contained in:
@@ -320,7 +320,7 @@ trait MinkDictionary
|
||||
*/
|
||||
public function assertPageMatchesText($pattern)
|
||||
{
|
||||
$this->assertSession()->pageTextMatches($this->fixStepArgument($text));
|
||||
$this->assertSession()->pageTextMatches($this->fixStepArgument($pattern));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -330,7 +330,7 @@ trait MinkDictionary
|
||||
*/
|
||||
public function assertPageNotMatchesText($pattern)
|
||||
{
|
||||
$this->assertSession()->pageTextNotMatches($this->fixStepArgument($text));
|
||||
$this->assertSession()->pageTextNotMatches($this->fixStepArgument($pattern));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user