Skip to content

Commit

Permalink
Merge pull request #3441 from projectblacklight/backport-resolver-spec
Browse files Browse the repository at this point in the history
[backport] Stop checking for specific error message
  • Loading branch information
taylor-steve authored Feb 12, 2025
2 parents 870544d + b93b6c4 commit 8bbde46
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 @@ -83,7 +83,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} .* unexpected token at/)
a_string_matching(/#{klass} failed to parse #{iiif_manifest_url}/)
)
expect { resolver.resolve! }.to raise_error(Spotlight::IiifResourceResolver::ManifestError)
end
Expand Down

0 comments on commit 8bbde46

Please sign in to comment.