You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/AppTests/ApiTests.swift
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -827,11 +827,12 @@ class ApiTests: AppTestCase {
827
827
}
828
828
829
829
func test_package_collections_owner()asyncthrows{
830
-
tryXCTSkipIf(!isRunningInCI && Current.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
830
+
tryXCTSkipIf(!isRunningInCI && EnvironmentClient.liveValue.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
tryXCTSkipIf(!isRunningInCI && Current.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
899
+
tryXCTSkipIf(!isRunningInCI && EnvironmentClient.liveValue.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
tryXCTSkipIf(!isRunningInCI && Current.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
25
+
tryXCTSkipIf(!isRunningInCI && EnvironmentClient.liveValue.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
@@ -76,10 +77,11 @@ class PackageCollectionControllerTests: AppTestCase {
76
77
}
77
78
78
79
func test_custom_request()asyncthrows{
79
-
tryXCTSkipIf(!isRunningInCI && Current.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
80
+
tryXCTSkipIf(!isRunningInCI && EnvironmentClient.liveValue.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
Copy file name to clipboardExpand all lines: Tests/AppTests/PackageCollectionTests.swift
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -830,17 +830,18 @@ class PackageCollectionTests: AppTestCase {
830
830
}
831
831
832
832
func test_sign_collection()asyncthrows{
833
-
tryXCTSkipIf(!isRunningInCI && Current.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
834
-
833
+
tryXCTSkipIf(!isRunningInCI && EnvironmentClient.liveValue.collectionSigningPrivateKey()==nil,"Skip test for local user due to unset COLLECTION_SIGNING_PRIVATE_KEY env variable")
0 commit comments