Skip to content

Commit 8e0ebf9

Browse files
authored
Turn off Messaging Swift Tests for macos (#5470)
1 parent 629c2ae commit 8e0ebf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseMessaging/Tests/IntegrationTests/FIRMessagingTokenRefreshTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// macOS requests a user password when accessing the Keychain for the first time,
1818
// so the tests may fail. Disable integration tests on macOS so far.
1919
// TODO: Configure the tests to run on macOS without requesting the keychain password.
20-
#if !TARGET_OS_OSX
20+
#if !os(OSX)
2121

2222
import FirebaseCore
2323
import FirebaseInstanceID
@@ -29,7 +29,7 @@
2929
var messaging = Messaging.messaging()
3030
var delegateIsCalled = false
3131

32-
func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) {
32+
func messaging(_: Messaging, didReceiveRegistrationToken _: String) {
3333
delegateIsCalled = true
3434
}
3535
}

0 commit comments

Comments
 (0)