Fix CI failure in Ticket::Article request spec caused by limiting agent_user groups
This commit is contained in:
parent
9f33ca5c0a
commit
a4281154d1
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@ RSpec.describe 'Ticket Article', type: :request do
|
|||
let(:admin_user) do
|
||||
create(:admin_user)
|
||||
end
|
||||
let(:group) { create(:group) }
|
||||
let!(:group) { create(:group) }
|
||||
|
||||
let(:agent_user) do
|
||||
create(:agent_user, groups: [Group.lookup(name: 'Users'), group])
|
||||
create(:agent_user, groups: Group.all)
|
||||
end
|
||||
let(:customer_user) do
|
||||
create(:customer_user)
|
||||
|
|
Loading…
Reference in a new issue