Skip to content

Commit

Permalink
Merge pull request #3714 from sul-dlss/cbeer-patch-1
Browse files Browse the repository at this point in the history
Update Law EZproxy prefix
  • Loading branch information
marlo-longley authored Dec 13, 2023
2 parents 7bca79e + 811b845 commit 74b448e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ libraries:
name: Lathrop Library
LAW:
about_url: https://law.stanford.edu/robert-crown-law-library/
ezproxy_host: http://ezproxy.law.stanford.edu/login?
ezproxy_host: https://ezproxy.law.stanford.edu/login?
hours_api_url: law/location/law_library
name: Law Library (Crown)
MARINE-BIO:
Expand Down
4 changes: 2 additions & 2 deletions spec/models/concerns/index_links_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
end

it 'prefixes the link with the ezproxy URL' do
expect(document.index_links.all.first.href).to eq 'http://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
expect(document.index_links.all.first.href).to eq 'https://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
end
end

Expand All @@ -200,7 +200,7 @@
end

it 'prefixes the link with the ezproxy URL' do
expect(document.index_links.all.first.href).to eq 'http://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
expect(document.index_links.all.first.href).to eq 'https://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/models/links/ezproxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
let(:link_title) { 'Some other link note' }

it 'adds the proxy prefix' do
expect(ezproxy.to_proxied_url).to eq 'http://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
expect(ezproxy.to_proxied_url).to eq 'https://ezproxy.law.stanford.edu/login?qurl=https%3A%2F%2Fwww.iareporter.com%2Fwhatever'
end
end

Expand Down

0 comments on commit 74b448e

Please sign in to comment.