Skip to content

Commit 8979c24

Browse files
committed
Update migration test
1 parent 2c87690 commit 8979c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/Tests/StorageTests/CoreData/MigrationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,9 +2302,9 @@ final class MigrationTests: XCTestCase {
23022302
// `attendanceStatusKey` should be present in `migratedBooking`
23032303
XCTAssertNotNil(migratedBooking.entity.attributesByName["attendanceStatusKey"])
23042304

2305-
// `attendanceStatusKey` value should default as nil in model 129
2305+
// `attendanceStatusKey` value should default as "" in model 129
23062306
let value = migratedBooking.value(forKey: "attendanceStatusKey") as? String
2307-
XCTAssertNil(value)
2307+
XCTAssertEqual(value, "")
23082308

23092309
// `attendanceStatusKey` must be settable
23102310
migratedBooking.setValue("checked_in", forKey: "attendanceStatusKey")

0 commit comments

Comments
 (0)