diff --git a/tests/scenarios/AuthorPage/AuthorPageTest.php b/tests/scenarios/AuthorPage/AuthorPageTest.php index 1071e5c61a3f40a3690eca6745af7ebe04dba00d..6d8582fc45f60e8a54f7fda653294144be8f714a 100644 --- a/tests/scenarios/AuthorPage/AuthorPageTest.php +++ b/tests/scenarios/AuthorPage/AuthorPageTest.php @@ -415,7 +415,9 @@ class AuthorPageViewRecordWithoutAuthorTest extends AuthorPageTestCase { $this->fixture('Class_Notice', ['id' => 999, 'titre_principal' => 'Les contacteurs']); $this->_http_client->whenCalled('open_url') - ->with('http://cache.org?titre=Les+contacteurs&auteur=&type_doc=0&numero=&src=d65fb6da9bbd9e4ddc65b9dcf1c1869f&api=2.0&action=10') + ->with('http://cache.org?titre=Les+contacteurs&auteur=&type_doc=0&numero=&src=' + . Class_WebService_AllServices::createSecurityKey() + . '&api=2.0&action=10') ->answers(false); $this->dispatch('/recherche/viewnotice/id/999');