Fix target in test workflow

This commit is contained in:
Davide De Rosa 2022-06-25 20:21:49 +02:00
parent 1543eef3c1
commit 0ff831f021
4 changed files with 5 additions and 3 deletions

View File

@ -68,7 +68,7 @@ jobs:
bundle exec fastlane --env ${{ matrix.platform }} match development
# - name: Run tests
# run: |
# cd PassepartoutCore
# cd PassepartoutLibrary
# swift test
- name: Build ${{ matrix.name }} app
timeout-minutes: 15

View File

@ -26,5 +26,5 @@ jobs:
xcode-version: latest-stable
- name: Run tests
run: |
cd PassepartoutCore
cd PassepartoutLibrary
swift test

View File

@ -24,6 +24,7 @@
//
import XCTest
import PassepartoutCore
@testable import PassepartoutProfiles
import SwiftyBeaver

View File

@ -26,6 +26,7 @@
import XCTest
import CoreData
import Combine
import PassepartoutCore
@testable import PassepartoutProviders
import PassepartoutServices
import PassepartoutUtils
@ -44,7 +45,7 @@ class ProvidersTests: XCTestCase {
override func setUp() {
pp_log.addDestination(ConsoleDestination())
manager = ProviderManager(
manager = DefaultProviderManager(
appBuild: 10000,
bundleServices: DefaultWebServices.bundledServices(withVersion: "v5"),
webServices: DefaultWebServices("v5", URL(string: "https://passepartoutvpn.app/api/")!, timeout: nil),