Skip to content

Commit

Permalink
updates swagger spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bramleyjl committed Dec 6, 2024
1 parent 3664eef commit 99045fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/requests/swagger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@
CGI.escape(SignIn::RefreshTokenEncryptor.new(refresh_token: session_container.refresh_token).perform)
end
let(:refresh_token_param) { { refresh_token: } }
let(:mpi_profile) { build(:mpi_profile, icn: user_verification.user_account.icn) }
let(:find_profile_response) { create(:find_profile_response, profile: mpi_profile) }

before do
allow_any_instance_of(MPI::Service).to receive(:find_profile_by_identifier).and_return(find_profile_response)
end

it 'refreshes the session and returns new tokens' do
expect(subject).to validate(
Expand Down

0 comments on commit 99045fe

Please sign in to comment.