File tree 2 files changed +2
-4
lines changed
Parse.xcodeproj/xcshareddata/xcschemes
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 96
96
<Test
97
97
Identifier = " ParseClientConfigurationTests/testExtensionDataSharing" >
98
98
</Test >
99
- <Test
100
- Identifier = " ParseClientConfigurationTests/testServerValidation" >
101
- </Test >
102
99
</SkippedTests >
103
100
</TestableReference >
104
101
</Testables >
Original file line number Diff line number Diff line change @@ -69,8 +69,9 @@ - (void)setClientKey:(NSString *)clientKey {
69
69
}
70
70
71
71
- (void )setServer : (NSString *)server {
72
+ NSURL *url = [NSURL URLWithString: server];
72
73
PFParameterAssert (server.length , @" Server should not be `nil`." );
73
- PFParameterAssert ([ NSURL URLWithString: server] , @" Server should be a valid URL." );
74
+ PFParameterAssert (url && url. scheme && url. host , @" Server should be a valid URL." );
74
75
_server = [server copy ];
75
76
}
76
77
You can’t perform that action at this time.
0 commit comments