feat: Conversation API to return applied_sla and sla_events (#9174)
* chore: Add sla_events to push_event_data * chore: Return SLA details in the API * chore: feature lock sla push event data * Update _conversation.json.jbuilder * chore: rubocop fixes
This commit is contained in:
@@ -38,7 +38,8 @@ RSpec.describe Conversations::EventDataPresenter do
|
||||
end
|
||||
|
||||
it 'returns push event payload' do
|
||||
expect(presenter.push_data).to eq(expected_data)
|
||||
# the exceptions are the values that would be added in enterprise edition.
|
||||
expect(presenter.push_data.except(:applied_sla, :sla_events)).to include(expected_data)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user