Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions Tests/AppTests/PackageCollectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,7 @@ class PackageCollectionTests: AppTestCase {
keywords: ["key", "word"],
overview: "overview")

#if compiler(<6)
await MainActor.run { // validate
assertSnapshot(of: res, as: .json(encoder))
}
#else
assertSnapshot(of: res, as: .json(encoder))
#endif
}
}

Expand Down Expand Up @@ -521,13 +515,7 @@ class PackageCollectionTests: AppTestCase {
authorName: "Foo",
keywords: ["key", "word"])

#if compiler(<6)
await MainActor.run { // validate
assertSnapshot(of: res, as: .json(encoder))
}
#else
assertSnapshot(of: res, as: .json(encoder))
#endif
}
}

Expand Down Expand Up @@ -844,13 +832,7 @@ class PackageCollectionTests: AppTestCase {

// validate signed collection content
XCTAssertFalse(signedCollection.signature.signature.isEmpty)
#if compiler(<6)
await MainActor.run {
assertSnapshot(of: signedCollection, as: .json(encoder))
}
#else
assertSnapshot(of: signedCollection, as: .json(encoder))
#endif

// validate signature
let validated = try await SignedCollection.validate(signedCollection: signedCollection)
Expand Down
Loading