mirror of
https://github.com/ProtonMail/protoncore_ios.git
synced 2026-01-16 23:00:24 +00:00
fix(CI): Fix broken references in Package.swift
Refs: https://gitlab.protontech.ch/apple/shared/protoncore/-/merge_requests/1973
This commit is contained in:
commit
f4c762f6f6
3 changed files with 32 additions and 46 deletions
|
|
@ -90,13 +90,6 @@
|
|||
"name" : "ProtonCoreAccountDeletionTests"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target" : {
|
||||
"containerPath" : "container:",
|
||||
"identifier" : "ProtonCoreLoginUnitTests",
|
||||
"name" : "ProtonCoreLoginUnitTests"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target" : {
|
||||
"containerPath" : "container:",
|
||||
|
|
@ -209,13 +202,6 @@
|
|||
"name" : "ProtonCoreQuarkCommandsTests"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target" : {
|
||||
"containerPath" : "container:",
|
||||
"identifier" : "ProtonCoreForceUpgradeTests",
|
||||
"name" : "ProtonCoreForceUpgradeTests"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target" : {
|
||||
"containerPath" : "container:",
|
||||
|
|
|
|||
|
|
@ -408,8 +408,7 @@ add(
|
|||
.testingToolkitUnitTestsServices,
|
||||
.viewInspector,
|
||||
],
|
||||
path: "libraries/AccountRecovery/Tests",
|
||||
resources: [.process("Resources")])
|
||||
path: "libraries/AccountRecovery/Tests")
|
||||
]
|
||||
)
|
||||
|
||||
|
|
@ -1337,7 +1336,7 @@ add(
|
|||
.testingToolkitUnitTestsServices
|
||||
],
|
||||
path: "libraries/PasswordChange/Tests",
|
||||
exclude: ["__Snapshots__"])
|
||||
exclude: ["SnapshotTests/__Snapshots__"])
|
||||
]
|
||||
)
|
||||
|
||||
|
|
@ -1381,34 +1380,6 @@ add(
|
|||
)
|
||||
|
||||
// MARK: Payments
|
||||
add(
|
||||
product: .paymentsV2,
|
||||
targets: [
|
||||
coreTarget(name: .paymentsV2,
|
||||
dependencies: [
|
||||
.observability,
|
||||
.networking
|
||||
],
|
||||
path: "libraries/PaymentsV2/Sources"),
|
||||
|
||||
coreTestTarget(name: .paymentsV2 + "UnitTests",
|
||||
dependencies: [
|
||||
.paymentsV2
|
||||
],
|
||||
path: "libraries/PaymentsV2/Tests/UnitTests",
|
||||
resources:[
|
||||
.copy("mockData/availablePlans.json"),
|
||||
.copy("mockData/plans_entitlements_types.json"),
|
||||
.copy("mockData/plans_decorations.json"),
|
||||
.copy("mockData/current_sub_response.json"),
|
||||
.copy("mockData/new_sub_payload.json"),
|
||||
.copy("mockData/check_sub_payload.json"),
|
||||
.copy("mockData/payment_status_payload.json"),
|
||||
.copy("mockData/StoreKit_mock.storekit"),
|
||||
.copy("mockData/StoreKitTestCertificate.cer")
|
||||
])
|
||||
]
|
||||
)
|
||||
|
||||
add(
|
||||
product: .payments,
|
||||
|
|
@ -1474,6 +1445,35 @@ add(
|
|||
]
|
||||
)
|
||||
|
||||
add(
|
||||
product: .paymentsV2,
|
||||
targets: [
|
||||
coreTarget(name: .paymentsV2,
|
||||
dependencies: [
|
||||
.observability,
|
||||
.networking
|
||||
],
|
||||
path: "libraries/PaymentsV2/Sources"),
|
||||
|
||||
coreTestTarget(name: .paymentsV2 + "UnitTests",
|
||||
dependencies: [
|
||||
.paymentsV2
|
||||
],
|
||||
path: "libraries/PaymentsV2/Tests/UnitTests",
|
||||
resources:[
|
||||
.copy("mockData/availablePlans.json"),
|
||||
.copy("mockData/plans_entitlements_types.json"),
|
||||
.copy("mockData/plans_decorations.json"),
|
||||
.copy("mockData/current_sub_response.json"),
|
||||
.copy("mockData/new_sub_payload.json"),
|
||||
.copy("mockData/check_sub_payload.json"),
|
||||
.copy("mockData/payment_status_payload.json"),
|
||||
.copy("mockData/StoreKit_mock.storekit"),
|
||||
.copy("mockData/StoreKitTestCertificate.cer")
|
||||
])
|
||||
]
|
||||
)
|
||||
|
||||
// MARK: PaymentsUI
|
||||
|
||||
add(
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../Tests/UnitTests/Mocks/Responses
|
||||
../../Tests/UnitTests/Mocks/Responses/
|
||||
Loading…
Add table
Reference in a new issue