diff --git a/webapp/sources/rudder/rudder-core/src/test/scala/com/normation/rudder/MockServices.scala b/webapp/sources/rudder/rudder-core/src/test/scala/com/normation/rudder/MockServices.scala index 2b41326e99f..c202e9cad01 100644 --- a/webapp/sources/rudder/rudder-core/src/test/scala/com/normation/rudder/MockServices.scala +++ b/webapp/sources/rudder/rudder-core/src/test/scala/com/normation/rudder/MockServices.scala @@ -3014,7 +3014,7 @@ class MockCampaign() { def get(id: CampaignEventId): IOResult[Option[CampaignEvent]] = { items.get.map(_.get(id)) } - def saveCampaignEvent(c: CampaignEvent): IOResult[CampaignEvent] = { + def saveCampaignEvent(c: CampaignEvent): IOResult[CampaignEvent] = { for { _ <- items.update(map => map + ((c.id, c))) } yield c