Skip to content

Commit

Permalink
Fix content and code calculator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thalessr committed Mar 6, 2023
1 parent 2073b5d commit 42140fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/smart_id/authentication_certificate/content_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
expect(subject.country).to eq('EE')
expect(subject.surname).to eq('SMART-ID')
expect(subject.given_name).to eq('DEMO')
expect(subject.identity_number).to eq('PNOEE-10101010005')
expect(subject.serial_number).to eq('PNOEE-10101010005')
expect(subject.all_info).to eq('SMART-ID,DEMO,PNOEE-10101010005')
expect(subject.organizational_unit).to eq('AUTHENTICATION')
end
Expand Down
2 changes: 1 addition & 1 deletion spec/smart_id/utils/verification_code_calculator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
end

it 'consistenly provides same 4 digits for the same data' do
expect(described_class.calculate('Somesampledata')).to eq('0222')
expect(described_class.calculate('Somesampledata')).to eq('9793')
end
end
end

0 comments on commit 42140fd

Please sign in to comment.