@@ -952,7 +952,7 @@ func (suite *basicSuite) TestTopicsAPI() {
952
952
suite .RunAPITests (suite .T (), tests )
953
953
}
954
954
955
- func (suite * basicSuite ) TestProvidersAPI () {
955
+ func (suite * basicSuite ) TestDestinationTypesAPI () {
956
956
providerFieldSchema := map [string ]interface {}{
957
957
"type" : "object" ,
958
958
"required" : []interface {}{"key" , "type" , "label" , "description" , "required" },
@@ -990,10 +990,10 @@ func (suite *basicSuite) TestProvidersAPI() {
990
990
991
991
tests := []APITest {
992
992
{
993
- Name : "GET /providers " ,
993
+ Name : "GET /destination-types " ,
994
994
Request : suite .AuthRequest (httpclient.Request {
995
995
Method : httpclient .MethodGET ,
996
- Path : "/providers " ,
996
+ Path : "/destination-types " ,
997
997
}),
998
998
Expected : APITestExpectation {
999
999
Validate : map [string ]any {
@@ -1014,10 +1014,10 @@ func (suite *basicSuite) TestProvidersAPI() {
1014
1014
},
1015
1015
},
1016
1016
{
1017
- Name : "GET /providers /webhook" ,
1017
+ Name : "GET /destination-types /webhook" ,
1018
1018
Request : suite .AuthRequest (httpclient.Request {
1019
1019
Method : httpclient .MethodGET ,
1020
- Path : "/providers /webhook" ,
1020
+ Path : "/destination-types /webhook" ,
1021
1021
}),
1022
1022
Expected : APITestExpectation {
1023
1023
Validate : map [string ]any {
@@ -1030,10 +1030,10 @@ func (suite *basicSuite) TestProvidersAPI() {
1030
1030
},
1031
1031
},
1032
1032
{
1033
- Name : "GET /providers /invalid" ,
1033
+ Name : "GET /destination-types /invalid" ,
1034
1034
Request : suite .AuthRequest (httpclient.Request {
1035
1035
Method : httpclient .MethodGET ,
1036
- Path : "/providers /invalid" ,
1036
+ Path : "/destination-types /invalid" ,
1037
1037
}),
1038
1038
Expected : APITestExpectation {
1039
1039
Match : & httpclient.Response {
0 commit comments