File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed 
Parse.xcodeproj/xcshareddata/xcschemes Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 9696               <Test 
9797                  Identifier = " ParseClientConfigurationTests/testExtensionDataSharing" 
9898               </Test >
99-                <Test 
100-                   Identifier = " ParseClientConfigurationTests/testServerValidation" 
101-                </Test >
10299            </SkippedTests >
103100         </TestableReference >
104101      </Testables >
Original file line number Diff line number Diff line change @@ -69,8 +69,9 @@ - (void)setClientKey:(NSString *)clientKey {
6969}
7070
7171- (void )setServer : (NSString  *)server  {
72+     NSURL  *url = [NSURL  URLWithString: server];
7273    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." 
7475    _server = [server copy ];
7576}
7677
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments