Skip to content
Snippets Groups Projects
Commit 527743b5 authored by llaffont's avatar llaffont
Browse files

Correction test réseaux sociaux

parent 492e19fa
No related merge requests found
......@@ -53,7 +53,8 @@ class RechercheControllerReseauTest extends RechercheControllerNoticeTestCase {
/** @test */
public function getResauShouldContainsTwitterLink() {
$this->assertXPath('//a[contains(@onclick, "social-network/share/on/twitter")]', $this->_response->getBody());
$this->assertContains('onclick="$.getScript(\'/social-network/share/on/facebook?url=',
$this->_response->getBody());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment