@@ -208,8 +208,6 @@ class PushMessagingTest {
208208 notificationsTypes = fromJson(NOTIFICATIONS_TYPES_JSON )
209209 )
210210
211- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
212-
213211 // Test once for coverage only with the default REST client.
214212 assertThrows(SSLPeerUnverifiedException ::class .java) {
215213 salesforceSdkManager.invokeServerNotificationAction(
@@ -273,6 +271,8 @@ class PushMessagingTest {
273271 notificationsTypes = fromJson(NOTIFICATIONS_TYPES_JSON )
274272 )
275273
274+ ApiVersionStrings .VERSION_NUMBER_TEST = " v63.0"
275+
276276 val notificationsActionsResponseBody = salesforceSdkManager.invokeServerNotificationAction(
277277 notificationId = " test_notification_id" ,
278278 actionKey = " test_action_key" ,
@@ -299,8 +299,6 @@ class PushMessagingTest {
299299 notificationsTypes = fromJson(NOTIFICATIONS_TYPES_JSON )
300300 )
301301
302- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
303-
304302 assertThrows(NotificationsApiException ::class .java) {
305303 salesforceSdkManager.invokeServerNotificationAction(
306304 notificationId = " test_notification_id" ,
@@ -330,8 +328,6 @@ class PushMessagingTest {
330328 notificationsTypes = fromJson(NOTIFICATIONS_TYPES_JSON )
331329 )
332330
333- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
334-
335331 assertThrows(NotificationsApiException ::class .java) {
336332 salesforceSdkManager.invokeServerNotificationAction(
337333 notificationId = " test_notification_id" ,
@@ -368,9 +364,6 @@ class PushMessagingTest {
368364 every { restClient.clientInfo } returns clientInfo
369365 every { restClient.sendSync(any()) } returns restResponse
370366
371- // Setup.
372- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
373-
374367 assertThrows(NotificationsApiException ::class .java) {
375368 salesforceSdkManager.invokeServerNotificationAction(
376369 notificationId = " test_notification_id" ,
@@ -396,9 +389,6 @@ class PushMessagingTest {
396389 every { restClient.clientInfo } returns clientInfo
397390 every { restClient.sendSync(any()) } returns restResponse
398391
399- // Setup.
400- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
401-
402392 assertThrows(NotificationsApiException ::class .java) {
403393 salesforceSdkManager.invokeServerNotificationAction(
404394 notificationId = " test_notification_id" ,
@@ -431,9 +421,6 @@ class PushMessagingTest {
431421 every { restClient.clientInfo } returns clientInfo
432422 every { restClient.sendSync(any()) } returns restResponse
433423
434- // Setup.
435- ApiVersionStrings .VERSION_NUMBER_TEST = " v64.0"
436-
437424 assertThrows(NotificationsApiException ::class .java) {
438425 salesforceSdkManager.invokeServerNotificationAction(
439426 notificationId = " test_notification_id" ,
0 commit comments