Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 8822874

Browse files
committed
Fix compiling issues in unit tests
1 parent 6062b2d commit 8822874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WordPressAuthenticatorTests/Authenticator/WordPressAuthenticator+TestsUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ extension WordPressAuthenticator {
88
wpcomClientId: "a",
99
wpcomSecret: "b",
1010
wpcomScheme: "c",
11-
wpcomTermsOfServiceURL: "d",
11+
wpcomTermsOfServiceURL: URL(string: "https://w.org")!,
1212
googleLoginClientId: "e",
1313
googleLoginServerClientId: "f",
1414
googleLoginScheme: "g",

WordPressAuthenticatorTests/Mocks/WordpressAuthenticatorProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class WordpressAuthenticatorProvider: NSObject {
66
return WordPressAuthenticatorConfiguration(wpcomClientId: "23456",
77
wpcomSecret: "arfv35dj57l3g2323",
88
wpcomScheme: "https",
9-
wpcomTermsOfServiceURL: "https://wordpress.com/tos/",
9+
wpcomTermsOfServiceURL: URL(string: "https://wordpress.com/tos/")!,
1010
googleLoginClientId: "",
1111
googleLoginServerClientId: "",
1212
googleLoginScheme: "com.googleuserconsent.apps",

0 commit comments

Comments
 (0)