Skip to content

Commit

Permalink
OpenGraphProtocolTest.php: refined assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
k00ni authored May 9, 2024
1 parent 5862682 commit 42b3e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ExampleTest/OpenGraphProtocolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testRottenTomatoes()
{
$output = executeExample('open_graph_protocol.php');
$this->assertStringContainsString('<dd><a href="https://www.rottentomatoes.com/m/oceans_eleven"', $output);
$this->assertStringContainsString('<dt>Title:</dt> <dd>Ocean\'s Eleven</dd>', $output);
$this->assertStringContainsString('<dt>Title:</dt> <dd>Ocean\'s Eleven', $output);
$this->assertStringContainsString('<dt>Description:</dt>', $output);
}
}

0 comments on commit 42b3e06

Please sign in to comment.