From 854393346f9a087303dd8217f0a5c0c038c4d380 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 19 Nov 2021 09:52:29 +1300 Subject: [PATCH] MNT Assert string --- tests/php/Model/VirtualPageTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/php/Model/VirtualPageTest.php b/tests/php/Model/VirtualPageTest.php index b66198a4..b4ee7ba5 100644 --- a/tests/php/Model/VirtualPageTest.php +++ b/tests/php/Model/VirtualPageTest.php @@ -103,11 +103,11 @@ class VirtualPageTest extends FunctionalTest // Test with title $meta = $vp1->MetaTags(); $charset = Config::inst()->get(ContentNegotiator::class, 'encoding'); - $this->assertContains('assertContains('assertContains('assertContains('assertContains(''.$master->Title.'', $meta); + $this->assertStringContainsString('assertStringContainsString('assertStringContainsString('assertStringContainsString('assertStringContainsString(''.$master->Title.'', $meta); } /**