Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates lease_service_spec.rb for valkyrie. #6436

Merged
merged 5 commits into from
Dec 1, 2023
Merged

Conversation

bwatson78
Copy link
Contributor

Fixes

Fixes spec/services/hyrax/lease_service_spec.rb

Summary

Updates lease_service_spec.rb for valkyrie.

Type of change (for release notes)

  • notes-valkyrie Valkyrie Progress

@samvera/hyrax-code-reviewers

Note: it may cause problems that the LeaseService relies on Solr instead of querying the actual objects.

@bwatson78 bwatson78 added valkyrization notes-valkyrie Release Notes: Valkyrie specific labels Nov 9, 2023
@bwatson78 bwatson78 self-assigned this Nov 9, 2023
@dlpierce
Copy link
Contributor

I think making use of Hyrax::TimeService to perform the indexing in the past can help resolve the problem of no expired lease data being indexed. However, there is also #6330 that has been waiting to get finished up and may impact how this spec is fixed up. Then embargo_service_spec.rb can likely share in the fixes given the similarities of leases and embargoes.

@bwatson78 bwatson78 force-pushed the fixes_lease_service_spec branch 3 times, most recently from 2192970 to 98880e1 Compare November 20, 2023 20:24
@dlpierce
Copy link
Contributor

As expected, merging 6330 caused some conflicts.

@bwatson78
Copy link
Contributor Author

@dlpierce The just merged lease work hasn't affected the behavior shown in the tests.

@dlpierce dlpierce merged commit a21cfc7 into main Dec 1, 2023
4 checks passed
@dlpierce dlpierce deleted the fixes_lease_service_spec branch December 1, 2023 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-valkyrie Release Notes: Valkyrie specific valkyrization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants