Просмотр исходного кода

Remove auth module from ds_proxy oauth test

Sean Lafferty 6 лет назад
Родитель
Сommit
4324a7f51a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      pkg/api/pluginproxy/ds_proxy_test.go

+ 1 - 2
pkg/api/pluginproxy/ds_proxy_test.go

@@ -417,8 +417,7 @@ func TestDSRouteRule(t *testing.T) {
 				Type: "custom-datasource",
 				Type: "custom-datasource",
 				Url:  "http://host/root/",
 				Url:  "http://host/root/",
 				JsonData: simplejson.NewFromAny(map[string]interface{}{
 				JsonData: simplejson.NewFromAny(map[string]interface{}{
-					"oauthPassThru":         true,
-					"oauthPassThruProvider": "oauth_generic_oauth",
+					"oauthPassThru": true,
 				}),
 				}),
 			}
 			}