updates for phpunit 8
This commit is contained in:
@ -6,7 +6,7 @@ class SiteDescriptionTest extends ShimmiePHPUnitTestCase
|
||||
global $config, $page;
|
||||
$config->set_string("site_description", "A Shimmie testbed");
|
||||
$this->get_page("post/list");
|
||||
$this->assertContains(
|
||||
$this->assertStringContainsString(
|
||||
'<meta name="description" content="A Shimmie testbed">',
|
||||
$page->get_all_html_headers()
|
||||
);
|
||||
@ -17,7 +17,7 @@ class SiteDescriptionTest extends ShimmiePHPUnitTestCase
|
||||
global $config, $page;
|
||||
$config->set_string("site_keywords", "foo,bar,baz");
|
||||
$this->get_page("post/list");
|
||||
$this->assertContains(
|
||||
$this->assertStringContainsString(
|
||||
'<meta name="keywords" content="foo,bar,baz">',
|
||||
$page->get_all_html_headers()
|
||||
);
|
||||
|
Reference in New Issue
Block a user