0
0
Fork 0

Coverage for Auth::OmniauthCallbacks controller (#26147)

This commit is contained in:
Matt Jankowski 2023-07-25 03:46:57 -04:00 committed by GitHub
parent f826a95f6e
commit 50ff3d3342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 163 additions and 11 deletions

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
OmniAuth.config.test_mode = true
def mock_omniauth(provider, data)
OmniAuth.config.mock_auth[provider] = OmniAuth::AuthHash.new(data)
end