Skip to content

Commit

Permalink
fix: replace assertContains() with assertStringContainsString()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed May 17, 2020
1 parent 1d88cd0 commit 8e818fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/tests/controllers/Welcome_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Welcome_test extends TestCase
public function test_index()
{
$output = $this->request('GET', 'welcome/index');
$this->assertContains('<title>Welcome to CodeIgniter</title>', $output);
$this->assertStringContainsString('<title>Welcome to CodeIgniter</title>', $output);
}

public function test_method_404()
Expand Down

0 comments on commit 8e818fb

Please sign in to comment.