File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,15 @@ describe "OAuth2" do
133133 with_http_server do |http , _ |
134134 LavinMQ ::Config .instance.oauth_client_id = " test-client"
135135 LavinMQ ::Config .instance.oauth_issuer_url = URI .parse(" https://idp.example.com" )
136+ LavinMQ ::Config .instance.oauth_mgmt_base_url = " https://localhost:15672"
136137
137138 response = ::HTTP ::Client .get(http.test_uri(" /oauth/enabled" ), headers: ::HTTP ::Headers .new)
138139 response.status_code.should eq 200
139140 JSON .parse(response.body)[" enabled" ].as_bool.should be_true
140141 ensure
141142 LavinMQ ::Config .instance.oauth_client_id = nil
142143 LavinMQ ::Config .instance.oauth_issuer_url = nil
144+ LavinMQ ::Config .instance.oauth_mgmt_base_url = nil
143145 end
144146 end
145147 end
You can’t perform that action at this time.
0 commit comments