Improved test.
This commit is contained in:
parent
3accd37aa0
commit
7ab7b3aa26
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ChatTest < ActiveSupport::TestCase
|
||||||
Chat::Message.delete_all
|
Chat::Message.delete_all
|
||||||
Chat::Agent.delete_all
|
Chat::Agent.delete_all
|
||||||
Setting.set('chat', false)
|
Setting.set('chat', false)
|
||||||
chat = Chat.create(
|
chat = Chat.create_or_update(
|
||||||
name: 'default',
|
name: 'default',
|
||||||
max_queue: 5,
|
max_queue: 5,
|
||||||
note: '',
|
note: '',
|
||||||
|
|
Loading…
Reference in a new issue