internal/db/schema: fix dropped test error (#948)

This commit is contained in:
Lars Lehtonen authored and GitHub committed 2021-02-18 08:27:08 -08:00
1 parent 2d850ac95c
commit 35eadd6e40
1 file changed
+1
+1
View File
@@ -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))
}