From 3e96d5ecd39e36a459462baf94998b9a7afeb2b8 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Mon, 13 May 2024 12:33:31 +0200 Subject: [PATCH] Remove leftover mock line --- tests/org/kde/kdeconnect/DeviceTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/org/kde/kdeconnect/DeviceTest.java b/tests/org/kde/kdeconnect/DeviceTest.java index 3fa2f12d..2dd64579 100644 --- a/tests/org/kde/kdeconnect/DeviceTest.java +++ b/tests/org/kde/kdeconnect/DeviceTest.java @@ -20,7 +20,6 @@ import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Base64; -import android.util.Log; import androidx.core.content.ContextCompat; @@ -85,8 +84,6 @@ public class DeviceTest { mockBase64.when(() -> Base64.encodeToString(any(byte[].class), anyInt())).thenAnswer(invocation -> java.util.Base64.getMimeEncoder().encodeToString((byte[]) invocation.getArguments()[0])); mockBase64.when(() -> Base64.decode(anyString(), anyInt())).thenAnswer(invocation -> java.util.Base64.getMimeDecoder().decode((String) invocation.getArguments()[0])); - Mockito.mockStatic(Log.class).close(); - //Store device information needed to create a Device object in a future MockSharedPreference deviceSettings = new MockSharedPreference(); SharedPreferences.Editor editor = deviceSettings.edit();