chore: Change the conversation bot
status to pending
(#2677)
fixes: #2649
This commit is contained in:
parent
a0886d37bc
commit
a7ca55c080
22 changed files with 87 additions and 54 deletions
|
@ -32,7 +32,7 @@ RSpec.describe 'API Base', type: :request do
|
|||
describe 'request with api_access_token for bot' do
|
||||
let!(:agent_bot) { create(:agent_bot) }
|
||||
let!(:inbox) { create(:inbox, account: account) }
|
||||
let!(:conversation) { create(:conversation, account: account, inbox: inbox, assignee: user, status: 'bot') }
|
||||
let!(:conversation) { create(:conversation, account: account, inbox: inbox, assignee: user, status: 'pending') }
|
||||
|
||||
context 'when it is an unauthorized url' do
|
||||
it 'returns unauthorized' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue