@@ -67,8 +67,9 @@ - (void)testLaunchUrl {
67
67
openURL: [NSURL URLWithString: @" http://myApp/custom/route?query=test" ]
68
68
options: @{}];
69
69
XCTAssertTrue (result);
70
- OCMVerify ([self .mockNavigationChannel invokeMethod: @" pushRouteInformation"
71
- arguments: @{@" location" : @" /custom/route?query=test" }]);
70
+ OCMVerify ([self .mockNavigationChannel
71
+ invokeMethod: @" pushRouteInformation"
72
+ arguments: @{@" location" : @" http://myApp/custom/route?query=test" }]);
72
73
}
73
74
74
75
- (void )testLaunchUrlWithDeepLinkingNotSet {
@@ -106,7 +107,7 @@ - (void)testLaunchUrlWithQueryParameterAndFragment {
106
107
XCTAssertTrue (result);
107
108
OCMVerify ([self .mockNavigationChannel
108
109
invokeMethod: @" pushRouteInformation"
109
- arguments: @{@" location" : @" /custom/route?query=test#fragment" }]);
110
+ arguments: @{@" location" : @" http://myApp /custom/route?query=test#fragment" }]);
110
111
}
111
112
112
113
- (void )testLaunchUrlWithFragmentNoQueryParameter {
@@ -118,8 +119,9 @@ - (void)testLaunchUrlWithFragmentNoQueryParameter {
118
119
openURL: [NSURL URLWithString: @" http://myApp/custom/route#fragment" ]
119
120
options: @{}];
120
121
XCTAssertTrue (result);
121
- OCMVerify ([self .mockNavigationChannel invokeMethod: @" pushRouteInformation"
122
- arguments: @{@" location" : @" /custom/route#fragment" }]);
122
+ OCMVerify ([self .mockNavigationChannel
123
+ invokeMethod: @" pushRouteInformation"
124
+ arguments: @{@" location" : @" http://myApp/custom/route#fragment" }]);
123
125
}
124
126
125
127
- (void )testReleasesWindowOnDealloc {
@@ -152,8 +154,9 @@ - (void)testUniversalLinkPushRouteInformation {
152
154
restorationHandler: ^(NSArray <id <UIUserActivityRestoring>>* __nullable restorableObjects){
153
155
}];
154
156
XCTAssertTrue (result);
155
- OCMVerify ([self .mockNavigationChannel invokeMethod: @" pushRouteInformation"
156
- arguments: @{@" location" : @" /custom/route?query=test" }]);
157
+ OCMVerify ([self .mockNavigationChannel
158
+ invokeMethod: @" pushRouteInformation"
159
+ arguments: @{@" location" : @" http://myApp/custom/route?query=test" }]);
157
160
}
158
161
159
162
@end
0 commit comments