We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c87690 commit 8979c24Copy full SHA for 8979c24
Modules/Tests/StorageTests/CoreData/MigrationTests.swift
@@ -2302,9 +2302,9 @@ final class MigrationTests: XCTestCase {
2302
// `attendanceStatusKey` should be present in `migratedBooking`
2303
XCTAssertNotNil(migratedBooking.entity.attributesByName["attendanceStatusKey"])
2304
2305
- // `attendanceStatusKey` value should default as nil in model 129
+ // `attendanceStatusKey` value should default as "" in model 129
2306
let value = migratedBooking.value(forKey: "attendanceStatusKey") as? String
2307
- XCTAssertNil(value)
+ XCTAssertEqual(value, "")
2308
2309
// `attendanceStatusKey` must be settable
2310
migratedBooking.setValue("checked_in", forKey: "attendanceStatusKey")
0 commit comments