Commit f0c82e2fcc0b83649a39a4cb94cbe5cb6f32d959

Authored by Evandro Junior
1 parent 69a17e1d

Pause to check the old version

Showing 1 changed file with 1 additions and 10 deletions   Show diff stats
test/unit/api/login_captcha_test.rb
... ... @@ -3,15 +3,7 @@ require File.dirname(__FILE__) + '/test_helper'
3 3 class LoginCaptchaTest < ActiveSupport::TestCase
4 4  
5 5 def setup()
6   - # @environment = Environment.default
7   - # @environment.api_captcha_settings = {
8   - # enabled: true,
9   - # provider: 'serpro',
10   - # serpro_client_id: '0000000000000000',
11   - # verify_uri: 'http://captcha.serpro.gov.br/validate',
12   - # }
13   - # @environment.save!
14   - # @url = "/api/v1/login-captcha?"
  6 + OutcomeCaptcha.outcome_captcha_test = true
15 7 end
16 8  
17 9 def create_article(name)
... ... @@ -91,7 +83,6 @@ class LoginCaptchaTest &lt; ActiveSupport::TestCase
91 83 end
92 84  
93 85 should 'do login captcha from api' do
94   - pry
95 86 do_login_captcha_from_api
96 87 end
97 88  
... ...