Expect isActive in the synced Account record keys

This commit is contained in:
Arkadiusz Fal
2026-10-15 21:44:09 +02:00
parent 4c31c0a348
commit afa490240a

View File

@@ -149,7 +149,7 @@ struct AccountSyncTests {
// Only the user-set label syncs; the username lives in the Keychain
// beside the credential.
#expect(record["username"] == nil)
#expect(record.allKeys().sorted() == ["accountID", "dateAdded", "displayName", "instanceID", "schemaVersion", "updatedAt"])
#expect(record.allKeys().sorted() == ["accountID", "dateAdded", "displayName", "instanceID", "isActive", "schemaVersion", "updatedAt"])
}
@Test("A record whose payload disagrees with its name is rejected")