fix: separate logo and hero icon
This commit is contained in:
@@ -156,8 +156,8 @@ class PageVideoTest(TestCase):
|
||||
class ProductVideoTest(TestCase):
|
||||
def setUp(self):
|
||||
self.main_product = MainProduct.objects.create(
|
||||
name="Radiuma",
|
||||
slug="radiuma",
|
||||
name="Communication to Care",
|
||||
slug="com2care",
|
||||
short_description="Short",
|
||||
description="Long",
|
||||
is_active=True,
|
||||
@@ -173,7 +173,7 @@ class ProductVideoTest(TestCase):
|
||||
is_active=True,
|
||||
)
|
||||
response = self.client.get(
|
||||
reverse("products:main_product_detail", kwargs={"main_slug": "radiuma"})
|
||||
reverse("products:main_product_detail", kwargs={"main_slug": "com2care"})
|
||||
)
|
||||
self.assertContains(response, "Product Demo")
|
||||
self.assertContains(response, "video-block--full")
|
||||
|
||||
Reference in New Issue
Block a user