Skip to content

Commit b979632

Browse files
committed
test: updating test to not check for region id
1 parent 0136d35 commit b979632

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

subscription_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,6 @@ func TestSubscription_ListActiveActiveRegions(t *testing.T) {
800800
"subscriptionId": 1986,
801801
"regions": [
802802
{
803-
"regionId": 12,
804803
"region": "us-east-1",
805804
"deploymentCidr": "192.169.0.0/24",
806805
"vpcId": "vpc-0e828cd5c0c580389",
@@ -817,7 +816,6 @@ func TestSubscription_ListActiveActiveRegions(t *testing.T) {
817816
"links": []
818817
},
819818
{
820-
"regionId": 19,
821819
"region": "us-east-2",
822820
"deploymentCidr": "11.0.1.0/24",
823821
"vpcId": "vpc-0aecab539b31057a5",
@@ -867,15 +865,13 @@ func listRegionsExpected() []*subscriptions.ActiveActiveRegion {
867865

868866
// Initialize regions
869867
region1Struct := &subscriptions.ActiveActiveRegion{
870-
RegionId: redis.Int(12),
871868
Region: redis.String("us-east-1"),
872869
DeploymentCIDR: redis.String("192.169.0.0/24"),
873870
VpcId: redis.String("vpc-0e828cd5c0c580389"),
874871
Databases: []subscriptions.ActiveActiveDatabase{database},
875872
}
876873

877874
region2Struct := &subscriptions.ActiveActiveRegion{
878-
RegionId: redis.Int(19),
879875
Region: redis.String("us-east-2"),
880876
DeploymentCIDR: redis.String("11.0.1.0/24"),
881877
VpcId: redis.String("vpc-0aecab539b31057a5"),

0 commit comments

Comments
 (0)