Skip to content

Commit

Permalink
Removed phpunit deprecated methods in PdfFaker (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkp22 authored Feb 8, 2020
1 parent 17ce957 commit 596c98b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PdfFaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function assertViewMissing($key)
*/
public function assertSee($value)
{
PHPUnit::assertContains($value, $this->html);
PHPUnit::assertStringContainsString($value, $this->html);

return $this;
}
Expand All @@ -127,7 +127,7 @@ public function assertSee($value)
*/
public function assertSeeText($value)
{
PHPUnit::assertContains($value, strip_tags($this->html));
PHPUnit::assertStringContainsString($value, strip_tags($this->html));

return $this;
}
Expand All @@ -140,7 +140,7 @@ public function assertSeeText($value)
*/
public function assertDontSee($value)
{
PHPUnit::assertNotContains($value, $this->html);
PHPUnit::assertStringNotContainsString($value, $this->html);

return $this;
}
Expand All @@ -153,7 +153,7 @@ public function assertDontSee($value)
*/
public function assertDontSeeText($value)
{
PHPUnit::assertNotContains($value, strip_tags($this->html));
PHPUnit::assertStringNotContainsString($value, strip_tags($this->html));

return $this;
}
Expand Down

0 comments on commit 596c98b

Please sign in to comment.