spec/support/dummy_class.rb in auth0-4.5.0 vs spec/support/dummy_class.rb in auth0-4.6.0
- old
+ new
@@ -1,10 +1,14 @@
class DummyClass
- attr_reader :domain, :client_id, :client_secret
+ include Auth0::Mixins::Headers
+ attr_reader :domain, :client_id, :client_secret, :audience
+
def initialize
@domain = 'test.auth0.com'
- @client_id = 'NyW50o8Qt8I1VhMVlTlfVwWLGzBIPuxb'
+ @client_id = '__test_client_id__'
+ @client_secret = '__test_client_secret__'
+ @audience = "https://#{@domain}/api/v2/"
end
%i(get post put patch delete).each do |method|
define_method(method) do |_path, _body = {}|
true