Skip to content
Snippets Groups Projects
Commit 037a709a authored by Laurent's avatar Laurent
Browse files

hotline #73599 Pergame: test fix

parent aabfb86a
Branches
Tags
3 merge requests!2695Master,!2694Hotline,!2686Hotline#73599 pergame bokeh suppressions de reservations depuis bokeh ne remontent pas dans pergame
Pipeline #4326 passed with stage
in 35 minutes and 15 seconds
......@@ -505,19 +505,6 @@ class PergameServiceDelegateLegacyTest extends PergameTestCase {
}
/** @test */
public function supprimerReservationShouldDelegateToLegacyPergameService() {
$this->_legacy_service
->whenCalled('supprimerReservation')
->with('1234')
->answers(['statut' => 0, 'erreur' => ''])
->beStrict();
$result = $this->_service_cran->supprimerReservation(Class_Users::getIdentity(), '1234');
$this->assertEquals(['statut' => 0, 'erreur' => ''], $result);
}
/** @test */
public function prolongerPretShouldDelegateToLegacyPergameService() {
$this->_legacy_service
......
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