Skip to content

Commit

Permalink
Fix the import path in the test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumatag authored and yussufsh committed Apr 22, 2022
1 parent 376ed6f commit a2fe87e
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-dhcp_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-image_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-instance_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-key_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-network_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

"github.com/apparentlymart/go-cidr/cidr"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-snapshot_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-volume_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-vpn_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

utl "internal/testutils"
utl "github.com/IBM-Cloud/power-go-client/internal/testutils"

client "github.com/IBM-Cloud/power-go-client/clients/instance"
"github.com/IBM-Cloud/power-go-client/power/models"
Expand Down
8 changes: 1 addition & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require (
github.com/go-openapi/strfmt v0.21.2
github.com/go-openapi/swag v0.21.1
github.com/go-openapi/validate v0.20.3
github.com/stretchr/testify v1.7.0
)

require (
Expand Down Expand Up @@ -41,10 +42,3 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

require (
github.com/stretchr/testify v1.7.0
internal/testutils v1.0.0
)

replace internal/testutils => ./internal/testutils
3 changes: 0 additions & 3 deletions internal/testutils/go.mod

This file was deleted.

0 comments on commit a2fe87e

Please sign in to comment.