@@ -41,6 +41,7 @@ func TestAdvancedClusters_List(t *testing.T) {
4141 ],
4242 "results": [
4343 {
44+ "tags": [ { "key": "key1", "value": "value1" } ],
4445 "backupEnabled": true,
4546 "biConnector": {
4647 "enabled": false,
@@ -104,6 +105,7 @@ func TestAdvancedClusters_List(t *testing.T) {
104105 "stateName": "CREATING"
105106 },
106107 {
108+ "tags": [ { "key": "key1", "value": "value1" } ],
107109 "backupEnabled": true,
108110 "biConnector": {
109111 "enabled": false,
@@ -243,7 +245,12 @@ func TestAdvancedClusters_List(t *testing.T) {
243245 Paused : & paused ,
244246 PitEnabled : & pitEnabled ,
245247 StateName : "CREATING" ,
246-
248+ Tags : []* Tag {
249+ {
250+ Key : "key1" ,
251+ Value : "value1" ,
252+ },
253+ },
247254 ReplicationSpecs : []* AdvancedReplicationSpec {
248255 {
249256 ID : "1" ,
@@ -307,6 +314,12 @@ func TestAdvancedClusters_List(t *testing.T) {
307314 Paused : & paused ,
308315 PitEnabled : & pitEnabled ,
309316 StateName : "CREATING" ,
317+ Tags : []* Tag {
318+ {
319+ Key : "key1" ,
320+ Value : "value1" ,
321+ },
322+ },
310323 ReplicationSpecs : []* AdvancedReplicationSpec {
311324 {
312325 ID : "2" ,
@@ -616,6 +629,7 @@ func TestAdvancedClusters_Create(t *testing.T) {
616629 mux .HandleFunc (fmt .Sprintf ("/api/atlas/v1.5/groups/%s/clusters" , groupID ), func (w http.ResponseWriter , r * http.Request ) {
617630 testMethod (t , r , http .MethodPost )
618631 fmt .Fprint (w , `{
632+ "tags": [ { "key": "key1", "value": "value1" } ],
619633 "backupEnabled": true,
620634 "biConnector": {
621635 "enabled": false,
@@ -739,6 +753,12 @@ func TestAdvancedClusters_Create(t *testing.T) {
739753 Paused : & paused ,
740754 PitEnabled : & pitEnabled ,
741755 StateName : "CREATING" ,
756+ Tags : []* Tag {
757+ {
758+ Key : "key1" ,
759+ Value : "value1" ,
760+ },
761+ },
742762 ReplicationSpecs : []* AdvancedReplicationSpec {
743763 {
744764 ID : "2" ,
@@ -839,6 +859,12 @@ func TestAdvancedClusters_Create(t *testing.T) {
839859 Paused : & paused ,
840860 PitEnabled : & pitEnabled ,
841861 StateName : "CREATING" ,
862+ Tags : []* Tag {
863+ {
864+ Key : "key1" ,
865+ Value : "value1" ,
866+ },
867+ },
842868 ReplicationSpecs : []* AdvancedReplicationSpec {
843869 {
844870 ID : "2" ,
0 commit comments