Skip to content

Commit df27e57

Browse files
committed
Fix broken test
1 parent e21deff commit df27e57

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

Tests/CapacitorPluginToolsTests/PackageFileGenerator.swift

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ struct PackageFileGeneratorTests {
2020
2121
let package = Package(
2222
name: "CapacitorAppPlugin",
23-
platforms: [.iOS(.v13)],
23+
platforms: [.iOS(.v14)],
2424
products: [
2525
.library(
2626
name: "AppPlugin",
2727
targets: ["AppPlugin"])
2828
],
2929
dependencies: [
30-
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
30+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
3131
],
3232
targets: [
3333
.target(
3434
name: "AppPlugin",
3535
dependencies: [
36-
.product(name: "Capacitor", package: "capacitor6-spm-test"),
37-
.product(name: "Cordova", package: "capacitor6-spm-test")
36+
.product(name: "Capacitor", package: "capacitor-swift-pm"),
37+
.product(name: "Cordova", package: "capacitor-swift-pm")
3838
],
3939
path: "ios/Sources/AppPlugin"),
4040
.testTarget(
@@ -45,14 +45,3 @@ struct PackageFileGeneratorTests {
4545
)
4646
"""
4747
}
48-
49-
//@testable import cap2spm
50-
//import XCTest
51-
//
52-
//class GeneratePackageFileTests: XCTestCase {
53-
// func testPackageGen() {
54-
// let packageFile = GeneratePackageFile(packageName: "CapacitorAppPlugin", libName: "AppPlugin")
55-
//
56-
// XCTAssertEqual(packageFile.packageText, expected)
57-
// }
58-
//}

0 commit comments

Comments
 (0)