diff --git a/Test/Integration/ProductPageVideoUrlTest.php b/Test/Integration/ProductPageVideoUrlTest.php index 4f0011a..2f582ee 100644 --- a/Test/Integration/ProductPageVideoUrlTest.php +++ b/Test/Integration/ProductPageVideoUrlTest.php @@ -16,8 +16,8 @@ public function testVideoUrlIsChangedOnConfigurableProductPage(): void $this->dispatch('catalog/product/view/id/1'); $body = $this->getResponse()->getBody(); - self::assertNotContains('youtube.com', $body); - self::assertNotContains('youtu.be', $body); - self::assertContains('youtube-nocookie.com', $body); + self::assertStringNotContainsString('youtube.com', $body); + self::assertStringNotContainsString('youtu.be', $body); + self::assertStringNotContainsString('youtube-nocookie.com', $body); } }