mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 09:10:58 +01:00
14 lines
252 B
Go
14 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)
|
|
}
|
|
}
|