Skip to content

Commit

Permalink
tests: Fix enable rollback test
Browse files Browse the repository at this point in the history
  • Loading branch information
jachym-tousek-keboola committed Nov 1, 2024
1 parent d903ccd commit a561c2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func TestSinkRepository_Enable(t *testing.T) {
now = now.Add(time.Hour)
sink, err := repo.RollbackVersion(sinkKey, now, by, 2).Do(ctx).ResultOrErr()
require.NoError(t, err)
assert.True(t, sink.IsDisabled())
assert.False(t, sink.IsDisabled()) // Rollback intentionally doesn't change disabled/enabled state
assert.Equal(t, definition.VersionNumber(4), sink.VersionNumber())
}

Expand Down

0 comments on commit a561c2d

Please sign in to comment.