Sfoglia il codice sorgente

Disable TestAdapter on IntegrationTest (#29914, #32936).

Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20893 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.0
Go MAEDA 3 anni fa
parent
commit
0037ad1afe
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      test/test_helper.rb

+ 5
- 0
test/test_helper.rb Vedi File

@@ -392,6 +392,11 @@ module Redmine
end

class IntegrationTest < ActionDispatch::IntegrationTest
def setup
ActionMailer::MailDeliveryJob.disable_test_adapter
super
end

def log_user(login, password)
User.anonymous
get "/login"

Loading…
Annulla
Salva