diff --git a/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php b/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php index 85e004db37b7c529cbbf6a8c3910ecdfdc8d792e..135a5a1b6964ca00ab9b32504835594bb8b8b680 100644 --- a/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php +++ b/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php @@ -185,24 +185,8 @@ class ProfilOptionsControllerTwitterLinkWithProfilAdulteTest extends ProfilOptio $this->_mock_web_client ->whenCalled('open_url') - ->with(sprintf('http://is.gd/api.php?longurl=%s', - urlencode('http://localhost/index/index'))) - ->answers('http://is.gd/PkdNgD') + ->answers('http://is.gd/PkdNgD'); - ->whenCalled('open_url') - ->with(sprintf('http://is.gd/api.php?longurl=%s', - urlencode('http://localhost' . BASE_URL . '/index/index'))) - ->answers('http://is.gd/PkdNgD') - - ->whenCalled('open_url') - ->with("http://is.gd/api.php?longurl=http%3A%2F%2Flocalhost%2Fafi-opac%2Findex%2Findex%3Fid_profil%3D2") - ->answers("http://is.gd/PkdNgD") - - ->whenCalled('open_url') - ->with("http://is.gd/api.php?longurl=http%3A%2F%2Flocalhost%2Findex%2Findex%3Fid_profil%3D2") - ->answers("http://is.gd/PkdNgD") - - ->beStrict(); }