Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/app/pipedv1/livestatereporter/livestatereporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (f *fakeAPIClient) ReportApplicationSyncState(ctx context.Context, req *pip
// TODO: make lib for fakePlugin to use in other tests
type fakePlugin struct {
pluginapi.PluginClient
name string
syncStrategy *deployment.DetermineStrategyResponse
quickStages []*model.PipelineStage
pipelineStages []*model.PipelineStage
Expand Down Expand Up @@ -122,6 +123,9 @@ func (p *fakePlugin) GetLivestate(ctx context.Context, in *livestate.GetLivestat
SyncState: &model.ApplicationSyncState{},
}, nil
}
func (p *fakePlugin) Name() string {
return p.name
}

type fakeAPILister struct {
applicationLister
Expand Down