Fix OTG album local path storage

This commit is contained in:
2026-07-08 10:25:35 +08:00
parent e9f593643f
commit 773fbd1180
8 changed files with 206 additions and 76 deletions

View File

@ -56,6 +56,8 @@ final class TravelAlbumOTGStorageTests: XCTestCase {
XCTAssertEqual(loaded.first?.status, .pending)
XCTAssertEqual(loaded.first?.progress, 0)
XCTAssertEqual(loaded.first?.localPath, "originals/A.JPG")
XCTAssertEqual(store.absoluteURL(for: loaded.first?.localPath ?? "", albumId: 33), file)
}
func testRemoveAndClearAlbumDeleteFiles() throws {