Skip to content

Commit

Permalink
remove automate gateway integration test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Singh <[email protected]>
  • Loading branch information
Vivek Singh committed Feb 9, 2021
1 parent 2efda90 commit 624b656
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 90 deletions.
79 changes: 0 additions & 79 deletions components/automate-gateway/integration/infra_proxy_test.go

This file was deleted.

18 changes: 8 additions & 10 deletions components/automate-gateway/integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ const (
)

type GatewayTestSuite struct {
ctx context.Context
target *acceptanceTarget
clients gateway.ClientsFactory
gwConn *grpc.ClientConn
automateAPIToken string
ctx context.Context
target *acceptanceTarget
clients gateway.ClientsFactory
gwConn *grpc.ClientConn
suite.Suite
}

Expand Down Expand Up @@ -59,11 +58,10 @@ func NewGatewayTestSuite(ctx context.Context, t *testing.T, target *acceptanceTa
}

return &GatewayTestSuite{
ctx: ctx,
target: target,
clients: clients,
gwConn: gwConn,
automateAPIToken: os.Getenv("AUTOMATE_API_TOKEN"),
ctx: ctx,
target: target,
clients: clients,
gwConn: gwConn,
}, nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestNodeAttributeProjectFilter(t *testing.T) {
},
{
description: "Node has no projects; request unassigned projects allowed",
ctx: ([contextWithProjects]string{authzConstants.UnassignedProjectID}),
ctx: contextWithProjects([]string{authzConstants.UnassignedProjectID}),
nodeProjects: []string{},
expected: expectedSuccess,
},
Expand Down

0 comments on commit 624b656

Please sign in to comment.