Skip to content

Commit

Permalink
Fixes iOS10-only test to quit early
Browse files Browse the repository at this point in the history
  • Loading branch information
kas-kad committed Jul 10, 2017
1 parent 72562b7 commit c3508e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Example/Tests/MobileMessagingTests/MessageStorageTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ class MessageStorageTests: MMTestCase {

@available(iOS 10.0, *)
func testThatMessageStorageIsBeingPopulatedWithNotificationExtensionHandledMessages() {

guard #available(iOS 10.0, *) else {
return
}

cleanUpAndStop()

let content = UNMutableNotificationContent()
Expand Down

0 comments on commit c3508e8

Please sign in to comment.