Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
simialbi committed Dec 3, 2020
1 parent 8907494 commit ee22f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/HelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function testAutoCreate()
$content = Yii::$app->view->render('@webroot/views/empty');

$expected = <<<JSONLD
<script type="application/ld+json">{"@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"}</script>
<script type="application/ld+json">{"@context":"http://schema.org","itemListElement":[{"item":{"@id":"http://www.example.com/index.php?r=","name":"Home"},"position":1,"@type":"ListItem"},{"item":{"@id":"http://www.example.com/index.php?r=welcome","name":"Welcome"},"position":2,"@type":"ListItem"}],"@type":"BreadcrumbList"}</script>
JSONLD;

$this->assertContains($expected, $content);
Expand Down

0 comments on commit ee22f22

Please sign in to comment.