From 7539d1bc001554d7ca1e94cbfbf02bfe9b31e713 Mon Sep 17 00:00:00 2001 From: Iman Aboheydary Date: Mon, 5 Feb 2024 14:24:54 +0100 Subject: [PATCH] Add Int tests, DEV-367 --- Test/Integration/ProductPageVideoUrlTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }