diff --git a/spec/requests/organisations_controller_spec.rb b/spec/requests/organisations_controller_spec.rb
index 945f468f7..352a96781 100644
--- a/spec/requests/organisations_controller_spec.rb
+++ b/spec/requests/organisations_controller_spec.rb
@@ -132,8 +132,6 @@ RSpec.describe OrganisationsController, type: :request do
end
it "shows only active users in the current user's organisation" do
- expected_case_row_log = "User #{user.id}"
- unauthorized_case_row_log = "User #{other_org_user.id}"
expect(page).to have_content(user.name)
expect(page).to have_content(other_user.name)
expect(page).to have_content(inactive_user.name)