mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 11:30:15 +00:00
13 lines
252 B
Go
13 lines
252 B
Go
package updates
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
)
|
|
|
|
func TestMockUpdaterRollback(t *testing.T) {
|
|
updater := NewMockUpdater()
|
|
if err := updater.Rollback(context.Background(), "event-1"); err != nil {
|
|
t.Fatalf("Rollback returned error: %v", err)
|
|
}
|
|
}
|