Commit 1bbe1556 authored by Laurent's avatar Laurent
Browse files

Revert "hotline #61463 replace popup with flash messenger in hold cancelation process."

This reverts commit 745a298c.
parent 4c463ec8
......@@ -436,8 +436,7 @@ class AbonneController extends ZendAfi_Controller_Action {
? $result['erreur']
: $this->_('Votre réservation du document %s a bien été supprimée.', $title);
$this->_helper->notify($message);
$this->_redirectToReferer();
return $this->_renderExtendPopup($this->_('Suppression de la réservation'), $message);
}
if ($delete = $this->_getParam('consultation_id_delete'))
......
......@@ -701,18 +701,6 @@ class Scenario_AbonneMultiCardsAccountOfEwokCancelReservationsActionTest
public function shouldCallCancelArcadiaHoldOfLuke() {
$this->assertTrue($this->_comm->methodHasBeenCalledWithParams('supprimerReservation', [Class_Users::find(2), 78]));
}
/** @test */
public function shouldRedirect() {
$this->assertRedirect();
}
/** @test */
public function flashMessengerShouldContainsHoldDeleted() {
$this->assertFlashMessengerContentContains('Votre réservation du document Arcadia a bien été supprimée.');
}
}
......
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