test/oauth/authorization_test.rb in rack-oauth2-server-2.1.0 vs test/oauth/authorization_test.rb in rack-oauth2-server-2.2.0
- old
+ new
@@ -80,19 +80,9 @@
context "client ID but no such client" do
setup { request_authorization :client_id=>"4cc7bc483321e814b8000000" }
should_redirect_with_error :invalid_client
end
- context "no client secret" do
- setup { request_authorization :client_secret=>nil }
- should_redirect_with_error :invalid_client
- end
-
- context "wrong client secret" do
- setup { request_authorization :client_secret=>"plain wrong" }
- should_redirect_with_error :invalid_client
- end
-
context "mismatched redirect URI" do
setup { request_authorization :redirect_uri=>"http://uberclient.dot/oz" }
should_redirect_with_error :redirect_uri_mismatch
end