Skip to content

Commit

Permalink
Backport 3.5.x: Edit iiif_resource_resolver_spec for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marlo-longley committed Jan 24, 2024
1 parent af7d2e0 commit 9b9f7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/services/spotlight/iiif_resource_resolver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
it 'logs that the JSON was unparsable and falls through to an no-canvas error' do
klass = described_class.name
expect(Rails.logger).to receive(:warn).with(
a_string_matching(/#{klass} failed to parse #{iiif_manifest_url} with: \d{3}: unexpected token at '#{fixture_json}'/)
a_string_matching(/#{klass} failed to parse #{iiif_manifest_url} .* unexpected token at/)
)
expect { resolver.resolve! }.to raise_error(Spotlight::IiifResourceResolver::ManifestError)
end
Expand Down

0 comments on commit 9b9f7cf

Please sign in to comment.