We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7172bf commit df9ccaeCopy full SHA for df9ccae
1 file changed
pkg/cmd/gpucreate/gpucreate_test.go
@@ -48,6 +48,13 @@ func (m *MockGPUCreateStore) GetActiveOrganizationOrDefault() (*entity.Organizat
48
return m.Org, nil
49
}
50
51
+func (m *MockGPUCreateStore) GetOrganizations(_ *store.GetOrganizationsOptions) ([]entity.Organization, error) {
52
+ if m.Org != nil {
53
+ return []entity.Organization{*m.Org}, nil
54
+ }
55
+ return []entity.Organization{}, nil
56
+}
57
+
58
func (m *MockGPUCreateStore) GetWorkspace(workspaceID string) (*entity.Workspace, error) {
59
if ws, ok := m.Workspaces[workspaceID]; ok {
60
return ws, nil
0 commit comments