mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Update regression test introduced after commit cherry-picked from #750
This commit is contained in:
1 parent
a98350d206
commit
2d30f06f54
1 file changed
+1
-1
@@ -445,7 +445,7 @@ class MutablePersistableRecordUpdateTests: GRDBTestCase {
|
||||
}
|
||||
do {
|
||||
// Regression test for https://github.com/groue/GRDB.swift/issues/758
|
||||
try Player.including(required: Player.team.filter(Column("active") == 1)).updateAll(db, Column("score") <- 0)
|
||||
try Player.including(required: Player.team.filter(Column("active") == 1)).updateAll(db, Column("score").set(to: 0))
|
||||
XCTAssertEqual(self.lastSQLQuery, """
|
||||
UPDATE "player" SET "score" = 0 WHERE rowid IN (\
|
||||
SELECT "player"."rowid" \
|
||||
|
||||
Reference in new issue
Block a user