Skip to content

Commit 3eda679

Browse files
committed
remove constants.go files
1 parent 1146623 commit 3eda679

File tree

144 files changed

+458
-1541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+458
-1541
lines changed

test/e2e/accesslists/access_lists_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ import (
2929
atlasv2 "go.mongodb.org/atlas-sdk/v20250312001/admin"
3030
)
3131

32+
const (
33+
accessListEntity = "accessList"
34+
)
35+
3236
func TestAccessList(t *testing.T) {
3337
g := internal.NewAtlasE2ETestGenerator(t, internal.WithSnapshot())
3438
g.GenerateProject("accessList")

test/e2e/accesslists/constants.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

test/e2e/accesslogs/access_logs_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ import (
2626
atlasv2 "go.mongodb.org/atlas-sdk/v20250312001/admin"
2727
)
2828

29+
const (
30+
accessLogsEntity = "accessLogs"
31+
)
32+
2933
func TestAccessLogs(t *testing.T) {
3034
g := internal.NewAtlasE2ETestGenerator(t, internal.WithSnapshot())
3135
req := require.New(t)

test/e2e/accesslogs/constants.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

test/e2e/accessroles/access_roles_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ import (
2727
atlasv2 "go.mongodb.org/atlas-sdk/v20250312001/admin"
2828
)
2929

30+
const (
31+
awsEntity = "aws"
32+
cloudProvidersEntity = "cloudProviders"
33+
accessRolesEntity = "accessRoles"
34+
)
35+
3036
const aws = "AWS"
3137

3238
func TestAccessRoles(t *testing.T) {

test/e2e/accessroles/constants.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

test/e2e/alerts/alerts_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ import (
2828
atlasv2 "go.mongodb.org/atlas-sdk/v20250312001/admin"
2929
)
3030

31+
const (
32+
alertsEntity = "alerts"
33+
)
34+
3135
const (
3236
closed = "CLOSED"
3337
)

test/e2e/alerts/constants.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

test/e2e/alertsettings/alert_settings_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ import (
3030
"go.mongodb.org/atlas-sdk/v20250312001/admin"
3131
)
3232

33+
const (
34+
alertsEntity = "alerts"
35+
settingsEntity = "settings"
36+
37+
// AlertConfig constants.
38+
group = "GROUP"
39+
eventTypeName = "NO_PRIMARY"
40+
intervalMin = 5
41+
delayMin = 0
42+
)
43+
3344
func TestAlertConfig(t *testing.T) {
3445
g := internal.NewAtlasE2ETestGenerator(t, internal.WithSnapshot())
3546
var alertID string

test/e2e/alertsettings/constants.go

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)