Skip to content

Commit bb6fdac

Browse files
committed
Update tests
1 parent 729f4e1 commit bb6fdac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/AppTests/PackageCollectionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class PackageCollectionTests: AppTestCase {
203203

204204
// MUT
205205
let res = try await VersionResult.query(on: self.app.db,
206-
filterBy: .customCollection("List"))
206+
filterBy: .customCollection("list"))
207207

208208
// validate selection (relationship loading is tested in test_query_filter_urls)
209209
XCTAssertEqual(res.map(\.version.packageName),

Tests/AppTests/SiteURLTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class SiteURLTests: XCTestCase {
170170

171171
func test_collections() throws {
172172
XCTAssertEqual(SiteURL.collections(.value("foo")).path, "collections/foo")
173-
XCTAssertEqual(SiteURL.collections(.key).pathComponents.map(\.description), ["collections", ":name"])
173+
XCTAssertEqual(SiteURL.collections(.key).pathComponents.map(\.description), ["collections", ":key"])
174174
}
175175

176176
}

0 commit comments

Comments
 (0)