From 12c79bcf5697e32dde131e00213cbd73b6085492 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 15 May 2023 11:29:33 +0200 Subject: [PATCH] fix tests --- .../implementation/queue/CommandQueueImplementation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementation/src/main/java/info/nightscout/implementation/queue/CommandQueueImplementation.kt b/implementation/src/main/java/info/nightscout/implementation/queue/CommandQueueImplementation.kt index 9eeff06099..894d7aa308 100644 --- a/implementation/src/main/java/info/nightscout/implementation/queue/CommandQueueImplementation.kt +++ b/implementation/src/main/java/info/nightscout/implementation/queue/CommandQueueImplementation.kt @@ -422,7 +422,7 @@ class CommandQueueImplementation @Inject constructor( } // returns true if command is queued - fun setProfile(profile: ProfileSealed.PS, hasNsId: Boolean, callback: Callback?): Boolean { + fun setProfile(profile: ProfileSealed, hasNsId: Boolean, callback: Callback?): Boolean { if (isRunning(CommandType.BASAL_PROFILE)) { aapsLogger.debug(LTag.PUMPQUEUE, "Command is already executed") callback?.result(PumpEnactResult(injector).success(true).enacted(false))?.run()