add feature flipping, just in case

This commit is contained in:
simon lehericey 2024-09-16 13:38:09 +02:00
parent cd2d772cd0
commit 363f70a3fc
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
3 changed files with 5 additions and 1 deletions

View file

@ -39,6 +39,7 @@ describe AgentConnect::AgentController, type: :controller do
context 'and user_info returns some info' do
before do
expect(AgentConnectService).to receive(:user_info).with(code, nonce).and_return([user_info, id_token, amr])
Flipper.enable(:agent_connect_2fa)
end
context 'and the instructeur use mon_compte_pro' do