Set Rails.configuration.webserver_is_active in test block.
This commit is contained in:
parent
6411a34a0f
commit
0dd0288cb0
1 changed files with 2 additions and 2 deletions
|
@ -30,10 +30,10 @@ class OnlineNotificationTest < ActiveSupport::TestCase
|
||||||
)
|
)
|
||||||
customer_user = User.lookup(email: 'nicole.braun@zammad.org')
|
customer_user = User.lookup(email: 'nicole.braun@zammad.org')
|
||||||
|
|
||||||
Rails.configuration.webserver_is_active = true
|
|
||||||
|
|
||||||
test 'ticket notification' do
|
test 'ticket notification' do
|
||||||
|
|
||||||
|
Rails.configuration.webserver_is_active = true
|
||||||
|
|
||||||
# case #1
|
# case #1
|
||||||
ticket1 = Ticket.create(
|
ticket1 = Ticket.create(
|
||||||
group_id: Group.lookup(name: 'Users').id,
|
group_id: Group.lookup(name: 'Users').id,
|
||||||
|
|
Loading…
Reference in a new issue