Skip to content

Commit 9feb956

Browse files
committed
Add check that Utc usage matches
1 parent c5baf55 commit 9feb956

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.unity.mobile.notifications/Tests/Runtime/iOS/iOSNotificationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ IEnumerator SendNotificationUsingCalendarTrigger_NotificationIsReceived(string t
187187
Assert.AreEqual(1, receivedNotificationCount);
188188
Assert.IsNotNull(lastReceivedNotification);
189189
Assert.AreEqual(text, lastReceivedNotification.Title);
190+
var retTrigger = (iOSNotificationCalendarTrigger)lastReceivedNotification.Trigger;
191+
Assert.AreEqual(useUtc, retTrigger.UtcTime);
190192
}
191193

192194
[UnityTest]

0 commit comments

Comments
 (0)