Skip to content

Commit 230c000

Browse files
committed
clean up
1 parent 749c802 commit 230c000

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@
9696
<Test
9797
Identifier = "ParseClientConfigurationTests/testExtensionDataSharing">
9898
</Test>
99+
<Test
100+
Identifier = "ParseClientConfigurationTests/testServerValidation">
101+
</Test>
99102
</SkippedTests>
100103
</TestableReference>
101104
</Testables>

Parse/Parse/Source/ParseClientConfiguration.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ - (void)setClientKey:(NSString *)clientKey {
7070

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

Parse/Tests/Unit/InstallationUnitTests.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ - (void)testInstallationHasApplicationBadge {
9090
[[NSApplication sharedApplication] dockTile].badgeLabel = @"10";
9191
#endif
9292
PFInstallation *installation = [PFInstallation currentInstallation];
93-
PFAssertEqualInts([PFApplication currentApplication].iconBadgeNumber, 10, @"iconBadgeNumber should have the same badge as application");
9493
PFAssertEqualInts(installation.badge, 10, @"Installation should have the same badge as application");
9594
}
9695

0 commit comments

Comments
 (0)