@@ -120,8 +120,8 @@ func TestListConnections(t *testing.T) {
120120 if r .Method != http .MethodGet {
121121 t .Errorf ("expected GET request, got %s" , r .Method )
122122 }
123- if r .URL .Path != "/2024-03 -01/connections" {
124- t .Errorf ("expected path /2024-03 -01/connections, got %s" , r .URL .Path )
123+ if r .URL .Path != "/2025-07 -01/connections" {
124+ t .Errorf ("expected path /2025-07 -01/connections, got %s" , r .URL .Path )
125125 }
126126
127127 // Verify query parameters
@@ -214,7 +214,7 @@ func TestGetConnection(t *testing.T) {
214214 if r .Method != http .MethodGet {
215215 t .Errorf ("expected GET request, got %s" , r .Method )
216216 }
217- expectedPath := "/2024-03 -01/connections/" + tt .connectionID
217+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID
218218 if r .URL .Path != expectedPath {
219219 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
220220 }
@@ -334,8 +334,8 @@ func TestCreateConnection(t *testing.T) {
334334 if r .Method != http .MethodPost {
335335 t .Errorf ("expected POST request, got %s" , r .Method )
336336 }
337- if r .URL .Path != "/2024-03 -01/connections" {
338- t .Errorf ("expected path /2024-03 -01/connections, got %s" , r .URL .Path )
337+ if r .URL .Path != "/2025-07 -01/connections" {
338+ t .Errorf ("expected path /2025-07 -01/connections, got %s" , r .URL .Path )
339339 }
340340
341341 // Verify request body
@@ -441,7 +441,7 @@ func TestUpdateConnection(t *testing.T) {
441441 if r .Method != http .MethodPut {
442442 t .Errorf ("expected PUT request, got %s" , r .Method )
443443 }
444- expectedPath := "/2024-03 -01/connections/" + tt .connectionID
444+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID
445445 if r .URL .Path != expectedPath {
446446 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
447447 }
@@ -511,7 +511,7 @@ func TestDeleteConnection(t *testing.T) {
511511 if r .Method != http .MethodDelete {
512512 t .Errorf ("expected DELETE request, got %s" , r .Method )
513513 }
514- expectedPath := "/2024-03 -01/connections/" + tt .connectionID
514+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID
515515 if r .URL .Path != expectedPath {
516516 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
517517 }
@@ -584,7 +584,7 @@ func TestEnableConnection(t *testing.T) {
584584 if r .Method != http .MethodPut {
585585 t .Errorf ("expected PUT request, got %s" , r .Method )
586586 }
587- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/enable"
587+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/enable"
588588 if r .URL .Path != expectedPath {
589589 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
590590 }
@@ -663,7 +663,7 @@ func TestDisableConnection(t *testing.T) {
663663 if r .Method != http .MethodPut {
664664 t .Errorf ("expected PUT request, got %s" , r .Method )
665665 }
666- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/disable"
666+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/disable"
667667 if r .URL .Path != expectedPath {
668668 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
669669 }
@@ -742,7 +742,7 @@ func TestPauseConnection(t *testing.T) {
742742 if r .Method != http .MethodPut {
743743 t .Errorf ("expected PUT request, got %s" , r .Method )
744744 }
745- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/pause"
745+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/pause"
746746 if r .URL .Path != expectedPath {
747747 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
748748 }
@@ -821,7 +821,7 @@ func TestUnpauseConnection(t *testing.T) {
821821 if r .Method != http .MethodPut {
822822 t .Errorf ("expected PUT request, got %s" , r .Method )
823823 }
824- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/unpause"
824+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/unpause"
825825 if r .URL .Path != expectedPath {
826826 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
827827 }
@@ -899,7 +899,7 @@ func TestArchiveConnection(t *testing.T) {
899899 if r .Method != http .MethodPut {
900900 t .Errorf ("expected PUT request, got %s" , r .Method )
901901 }
902- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/archive"
902+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/archive"
903903 if r .URL .Path != expectedPath {
904904 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
905905 }
@@ -977,7 +977,7 @@ func TestUnarchiveConnection(t *testing.T) {
977977 if r .Method != http .MethodPut {
978978 t .Errorf ("expected PUT request, got %s" , r .Method )
979979 }
980- expectedPath := "/2024-03 -01/connections/" + tt .connectionID + "/unarchive"
980+ expectedPath := "/2025-07 -01/connections/" + tt .connectionID + "/unarchive"
981981 if r .URL .Path != expectedPath {
982982 t .Errorf ("expected path %s, got %s" , expectedPath , r .URL .Path )
983983 }
@@ -1063,8 +1063,8 @@ func TestCountConnections(t *testing.T) {
10631063 if r .Method != http .MethodGet {
10641064 t .Errorf ("expected GET request, got %s" , r .Method )
10651065 }
1066- if r .URL .Path != "/2024-03 -01/connections/count" {
1067- t .Errorf ("expected path /2024-03 -01/connections/count, got %s" , r .URL .Path )
1066+ if r .URL .Path != "/2025-07 -01/connections/count" {
1067+ t .Errorf ("expected path /2025-07 -01/connections/count, got %s" , r .URL .Path )
10681068 }
10691069
10701070 w .WriteHeader (tt .mockStatusCode )
0 commit comments