diff --git a/plugins/discourse-presence/spec/requests/presence_controller_spec.rb b/plugins/discourse-presence/spec/requests/presence_controller_spec.rb index b0b3343097b..b18d731b9b8 100644 --- a/plugins/discourse-presence/spec/requests/presence_controller_spec.rb +++ b/plugins/discourse-presence/spec/requests/presence_controller_spec.rb @@ -208,9 +208,6 @@ describe ::Presence::PresencesController do message = messages.first - expect(message.channel).to eq("/presence/#{public_topic.id}") - expect(message.data.dig(:user, :id)).to eq(user.id) - expect(message.data[:published_at]).to eq(Time.zone.now.to_i) expect(message.group_ids).to contain_exactly(Group::AUTO_GROUPS[:staff]) expect(message.user_ids).to eq(nil) end