diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java b/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java index 28fbc9371..ae184bec7 100644 --- a/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java @@ -28,8 +28,6 @@ import android.provider.Settings; import androidx.test.filters.SmallTest; -import com.android.internal.notification.SystemNotificationChannels; - import org.junit.Before; import org.junit.Test; import org.mockito.Answers; @@ -73,7 +71,7 @@ public class WrongPasswordNotifierTest extends WifiBaseTest { @Test public void onWrongPasswordError() throws Exception { when(mFrameworkFacade.makeNotificationBuilder(any(), - eq(SystemNotificationChannels.NETWORK_ALERTS))).thenReturn(mNotificationBuilder); + eq(WifiStackService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); mWrongPassNotifier.onWrongPasswordError(TEST_SSID); verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); |