summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-10-26 15:04:59 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-10-26 15:04:59 -0400
commit1d1f56013fbb1b56ecc3829c6c3aebabab7a1a73 (patch)
tree391b48069543aea110ed859bd280be684662875b
parent3e222d81a0a8946b74ebd950fd53d80f4881ec3f (diff)
parent5289c625f1ec637409c84c813dbd7b2f638616ad (diff)
downloadsdl_ios-1d1f56013fbb1b56ecc3829c6c3aebabab7a1a73.tar.gz
Merge branch 'bugfix/issue-remove-the-suppress-deprecation-warnings-from-tests' of https://github.com/smartdevicelink/sdl_ios into bugfix/issue-remove-the-suppress-deprecation-warnings-from-tests
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnSyncPDataSpec.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnSyncPDataSpec.m b/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnSyncPDataSpec.m
index 285c4c898..b2bda1f18 100644
--- a/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnSyncPDataSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/NotificationSpecs/SDLOnSyncPDataSpec.m
@@ -38,7 +38,10 @@ describe(@"Getter/Setter Tests", ^ {
SDLRPCParameterNameOperationName:SDLRPCFunctionNameOnSyncPData}};
#pragma clang diagnostic pop
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
SDLOnSyncPData* testNotification = [[SDLOnSyncPData alloc] initWithDictionary:dict];
+#pragma clang diagnostic pop
expect(testNotification.URL).to(equal(@"https://www.youtube.com/watch?v=ygr5AHufBN4"));
expect(testNotification.Timeout).to(equal(@8357));