remove :cached_notifications gate

This commit is contained in:
clemkeirua 2020-09-18 15:32:58 +02:00 committed by Keirua (Rebase PR Action)
parent e0cc3cdd1b
commit d01a53eb72
5 changed files with 0 additions and 42 deletions

View file

@ -887,8 +887,6 @@ describe Users::DossiersController, type: :controller do
before do
Timecop.freeze(now)
sign_in(user)
# Flipper.enable(:cached_notifications, instructeur_with_instant_message)
# Flipper.enable(:cached_notifications, instructeur_without_instant_message)
allow(ClamavService).to receive(:safe_file?).and_return(scan_result)
allow(DossierMailer).to receive(:notify_new_commentaire_to_instructeur).and_return(double(deliver_later: nil))
instructeur_with_instant_message.follow(dossier)