DEV: Fix failing test.

approved
#1

DEV: Fix failing test.

diff --git a/spec/requests/encrypt_controller_spec.rb b/spec/requests/encrypt_controller_spec.rb
index fcc78d9..1a34a7b 100644
--- a/spec/requests/encrypt_controller_spec.rb
+++ b/spec/requests/encrypt_controller_spec.rb
@@ -274,7 +274,7 @@ describe ::DiscourseEncrypt::EncryptController do
     it 'resets everything' do
       user.grant_admin!
 
-      expect { post '/encrypt/reset', params: { user_id: user.id } }
+      expect { post '/encrypt/reset', params: { user_id: user.id, everything: true } }
         .to change { TopicAllowedUser.count }.by(-1)
         .and change { PluginStoreRow.count }.by(-1)
         .and change { UserCustomField.count }.by(-3)

GitHub sha: f08e7523

Approved #2