Skip to content

Commit

Permalink
[DomCrawler] Fix BC break in assertions breaking Panther
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Mar 29, 2020
1 parent b580dd8 commit 7af07c8
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(null, false), $this->expectedText);
return false !== mb_strpos($crawler->text(null, true), $this->expectedText);
}

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

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

/**
Expand Down

0 comments on commit 7af07c8

Please sign in to comment.