We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ef2f2 commit 7e037e8Copy full SHA for 7e037e8
analyze_test.go
@@ -2912,6 +2912,24 @@ func TestAnalyze_oidc(t *testing.T) {
2912
blockCtx{"http", "oidc_provider"},
2913
false,
2914
},
2915
+ "client_id context not ok": {
2916
+ &Directive{
2917
+ Directive: "client_id",
2918
+ Args: []string{"unique_id"},
2919
+ Line: 5,
2920
+ },
2921
+ blockCtx{"http"},
2922
+ true,
2923
2924
+ "client_id context ok": {
2925
2926
2927
2928
2929
2930
+ blockCtx{"http", "oidc_provider"},
2931
+ false,
2932
2933
}
2934
2935
for name, tc := range testcases {
0 commit comments