Skip to content

Commit

Permalink
Fix tests after library update
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Nov 26, 2024
1 parent 628cc19 commit dc97da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integrations/report_schema_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
) { onfido_api.find_report(report_id) }

expect(report).to be_an_instance_of Onfido::DocumentWithAddressInformationReport
expect(report.properties.barcode).to be_an_instance_of Onfido::DocumentPropertiesBarcode
expect(report.properties.barcode.document_type).to eq("driving_licence")
expect(report.properties.barcode[0]).to be_an_instance_of Onfido::DocumentPropertiesBarcodeInner
expect(report.properties.barcode[0].document_type).to eq("driving_licence")
end
end
end

0 comments on commit dc97da7

Please sign in to comment.