mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Allow running TestTokenForEachDevice independantly
This commit is contained in:
parent
b727ac37ed
commit
a3ba6cb724
@ -100,7 +100,7 @@ func TestTokenForEachDevice(t *testing.T) {
|
||||
|
||||
// HACK: discard rows inserted by other tests. We don't normally need to do this,
|
||||
// but this is testing a query that scans the entire devices table.
|
||||
db.MustExec("TRUNCATE syncv3_sync2_devices, syncv3_sync2_tokens;")
|
||||
db.Exec("TRUNCATE syncv3_sync2_devices, syncv3_sync2_tokens;")
|
||||
|
||||
tokens := NewTokensTable(db, "my_secret")
|
||||
devices := NewDevicesTable(db)
|
||||
|
Loading…
x
Reference in New Issue
Block a user