Skip to content

Commit

Permalink
prevent deprecation being triggered from assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Mar 1, 2020
1 parent da0e2f9 commit b01a10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -45,7 +45,7 @@ protected function matches($crawler): bool
return false;
}

return false !== mb_strpos($crawler->text(), $this->expectedText);
return false !== mb_strpos($crawler->text(null, false), $this->expectedText);
}

/**
Expand Down
Expand Up @@ -45,7 +45,7 @@ protected function matches($crawler): bool
return false;
}

return $this->expectedText === trim($crawler->text());
return $this->expectedText === trim($crawler->text(null, false));
}

/**
Expand Down

0 comments on commit b01a10c

Please sign in to comment.