You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/notifications/NotificationPollingServiceTest.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ class NotificationPollingServiceTest {
61
61
62
62
@Test
63
63
fun`test pollForNotifications when ETag matches - no new notifications`() {
64
-
ETagState.getState().etag ="same"
64
+
NotificationEtagState.getInstance().etag ="same"
65
65
val firstPollField =NotificationPollingService::class.java
66
66
.getDeclaredField("firstPollDone")
67
67
.apply { isAccessible =true }
@@ -80,7 +80,7 @@ class NotificationPollingServiceTest {
80
80
81
81
@Test
82
82
fun`test pollForNotifications when ETag matches on startup - notify observers`() {
83
-
ETagState.getState().etag ="same"
83
+
NotificationEtagState.getInstance().etag ="same"
84
84
mockkStatic(HttpRequests::class) {
85
85
every {
86
86
HttpRequests.request(any<String>())
@@ -94,7 +94,7 @@ class NotificationPollingServiceTest {
94
94
95
95
@Test
96
96
fun`test pollForNotifications when ETag different - notify observers`() {
0 commit comments