Fixed unit test, now we need to use 2 different users because of new "only one active session" feature.
This commit is contained in:
parent
bd9bd8a8ae
commit
4eea6ac2e8
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# encoding: utf-8
|
||||
require 'browser_test_helper'
|
||||
|
||||
|
||||
class ChatTest < TestCase
|
||||
def test_websocket
|
||||
message = 'message 1äöüß ' + rand(99999999999999999).to_s
|
||||
|
@ -11,8 +11,8 @@ class ChatTest < TestCase
|
|||
:instance2 => browser_instance,
|
||||
:instance1_username => 'master@example.com',
|
||||
:instance1_password => 'test',
|
||||
:instance2_username => 'master@example.com',
|
||||
:instance2_password => 'test',
|
||||
:instance2_username => 'agent1@example.com',
|
||||
:instance2_password => 'test',
|
||||
:url => browser_url,
|
||||
:action => [
|
||||
{
|
||||
|
@ -89,4 +89,4 @@ class ChatTest < TestCase
|
|||
]
|
||||
browser_double_test(tests)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue