Remove unused test function
This commit is contained in:
parent
08446c8fcd
commit
1c8b26c5d8
1 changed files with 0 additions and 12 deletions
|
|
@ -86,9 +86,6 @@ func TestApp_Create(t *testing.T) {
|
|||
name: "create codespace with default branch shows idle timeout notice if present",
|
||||
fields: fields{
|
||||
apiClient: &apiClientMock{
|
||||
GetCodespaceRegionLocationFunc: func(ctx context.Context) (string, error) {
|
||||
return "EUROPE", nil
|
||||
},
|
||||
GetCodespacePreFlightFunc: func(ctx context.Context, nwo string) (*api.User, error) {
|
||||
return &api.User{
|
||||
Login: "monalisa",
|
||||
|
|
@ -143,9 +140,6 @@ func TestApp_Create(t *testing.T) {
|
|||
name: "create codespace with default branch with default devcontainer if no path provided and no devcontainer files exist in the repo",
|
||||
fields: fields{
|
||||
apiClient: &apiClientMock{
|
||||
GetCodespaceRegionLocationFunc: func(ctx context.Context) (string, error) {
|
||||
return "EUROPE", nil
|
||||
},
|
||||
GetCodespacePreFlightFunc: func(ctx context.Context, nwo string) (*api.User, error) {
|
||||
return &api.User{
|
||||
Login: "monalisa",
|
||||
|
|
@ -205,9 +199,6 @@ func TestApp_Create(t *testing.T) {
|
|||
name: "returns error when getting devcontainer paths fails",
|
||||
fields: fields{
|
||||
apiClient: &apiClientMock{
|
||||
GetCodespaceRegionLocationFunc: func(ctx context.Context) (string, error) {
|
||||
return "EUROPE", nil
|
||||
},
|
||||
GetCodespacePreFlightFunc: func(ctx context.Context, nwo string) (*api.User, error) {
|
||||
return &api.User{
|
||||
Login: "monalisa",
|
||||
|
|
@ -239,9 +230,6 @@ func TestApp_Create(t *testing.T) {
|
|||
name: "create codespace with default branch does not show idle timeout notice if not conntected to terminal",
|
||||
fields: fields{
|
||||
apiClient: &apiClientMock{
|
||||
GetCodespaceRegionLocationFunc: func(ctx context.Context) (string, error) {
|
||||
return "EUROPE", nil
|
||||
},
|
||||
GetCodespacePreFlightFunc: func(ctx context.Context, nwo string) (*api.User, error) {
|
||||
return &api.User{
|
||||
Login: "monalisa",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue