fix: Disable showing read messages in unread view (#4324)
This commit is contained in:
@@ -23,9 +23,8 @@ RSpec.describe '/api/v1/widget/messages', type: :request do
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
json_response = JSON.parse(response.body)
|
||||
|
||||
# 2 messages created + 2 messages by the email hook
|
||||
expect(json_response.length).to eq(4)
|
||||
expect(json_response['payload'].length).to eq(4)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user