Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis committed Jan 16, 2025
1 parent 4497665 commit aab67dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [ master, release, alpha, beta ]
env:
CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer
CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-manual-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
default: ''
description: 'Version tag:'
env:
CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer
CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer

jobs:
publish-docs:
Expand Down
3 changes: 2 additions & 1 deletion Parse/Parse/Source/ParseClientConfiguration.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ - (void)setClientKey:(NSString *)clientKey {

- (void)setServer:(NSString *)server {
PFParameterAssert(server.length, @"Server should not be `nil`.");
PFParameterAssert([NSURL URLWithString:server], @"Server should be a valid URL.");
NSURL *url = [NSURL URLWithString:server];
PFParameterAssert(url && url.scheme && url.host, @"Server should be a valid URL.");
_server = [server copy];
}

Expand Down

0 comments on commit aab67dc

Please sign in to comment.