Commit 59c6f491 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #69826 fix tests

parent d3a4e613
......@@ -78,7 +78,7 @@ class Class_Notice_MailRenderer {
protected function _urlWithoutRouter($record) {
return Class_Url::absolute(['controller' => 'recherche',
'action' => 'viewnotice',
'id' => $record->getId()]);
'id' => $record->getId()], null, true);
}
......
......@@ -878,7 +878,7 @@ class Admin_NewsletterControllerPreviewActionTest extends Admin_NewsletterContro
/** @test */
public function noticeMartineALaPlageUrlShouldBeRechercheViewNotice42() {
$this->assertXPath('//a[@href="http://localhost' . BASE_URL . '/recherche/viewnotice/id/42"]');
$this->assertXPath('//a[@href="' . Class_Url::absolute('/recherche/viewnotice/id/42') . '"]');
}
/** @test */
......
Markdown is supported
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