From ee22f22ae69dc741daf09709a9ef17e1a2551d62 Mon Sep 17 00:00:00 2001 From: simialbi Date: Thu, 3 Dec 2020 16:53:11 +0100 Subject: [PATCH] fixed test --- tests/HelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/HelperTest.php b/tests/HelperTest.php index 7dfacee..14203ef 100644 --- a/tests/HelperTest.php +++ b/tests/HelperTest.php @@ -85,7 +85,7 @@ public function testAutoCreate() $content = Yii::$app->view->render('@webroot/views/empty'); $expected = <<{"@context":"http://schema.org","itemListElement":[{"position":1,"item":{"@id":"http://www.example.com/index.php?r=","name":"Home"},"@type":"ListItem"},{"position":2,"item":{"@id":"http://www.example.com/index.php?r=welcome","name":"Welcome"},"@type":"ListItem"}],"@type":"BreadcrumbList"} + JSONLD; $this->assertContains($expected, $content);