Fix CLI drift test fake manager
This commit is contained in:
parent
ac156c5f00
commit
3d472fa040
|
|
@ -132,6 +132,10 @@ func (f *fakeProjectManager) Add(_ context.Context, in projectsvc.AddInput) (pro
|
|||
return projectsvc.Project{ID: id, Path: in.Path}, nil
|
||||
}
|
||||
|
||||
func (f *fakeProjectManager) InitializeRepository(_ context.Context, in projectsvc.InitializeRepositoryInput) (projectsvc.InitializeRepositoryResult, error) {
|
||||
return projectsvc.InitializeRepositoryResult{Path: in.Path}, nil
|
||||
}
|
||||
|
||||
func (f *fakeProjectManager) SetConfig(_ context.Context, id domain.ProjectID, in projectsvc.SetConfigInput) (projectsvc.Project, error) {
|
||||
cfg := in.Config
|
||||
return projectsvc.Project{ID: id, Config: &cfg}, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue