internal/db/schema: fix dropped test error (#948)
This commit is contained in:
1 parent
2d850ac95c
commit
35eadd6e40
1 file changed
+1
@@ -95,6 +95,7 @@ func TestRollForward(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
// TODO: Extract out a way to mock the db to test failing rollforwards.
|
||||
_, err = d.ExecContext(ctx, "TRUNCATE boundary_schema_version; INSERT INTO boundary_schema_version (version, dirty) VALUES (2, true)")
|
||||
require.NoError(t, err)
|
||||
assert.Error(t, m.RollForward(ctx))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user