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

Ensure spec/services/hyrax/collection_types/permissions_service_spec.rb passes on .koppie #6254

Closed
no-reply opened this issue Aug 29, 2023 · 0 comments · Fixed by #6274
Closed
Assignees

Comments

@no-reply
Copy link
Contributor

`spec/services/hyrax/collection_types/permissions_service_spec.rb is failing on koppie builds. there may be a number of reasons for this:

  1. the test setup uses ActiveFedora, and should be refactored to use Valkyrie;
  2. the tests themselves test behavior that only applies to ActiveFedora, and should be turned off by adding the :active_fedora rspec metadata;
  3. the unit under test depends on ActiveFedora and needs to be rewritten to use Valkyrie throughout;
    • if this involves adding a switch for AF / Valkyrie behavior, ensure both branches are covered by adding another test
  4. some combination of the above.

docker-compose -f docker-compose-koppie.yml build
docker-compose -f docker-compose-koppie.yml up
docker-compose -f docker-compose-koppie.yml exec -w /app/samvera/hyrax-engine app sh -c "bundle install"
docker-compose -f docker-compose-koppie.yml exec -w /app/samvera/hyrax-engine app sh -c "bundle exec rspec spec/services/hyrax/collection_types/permissions_service_spec.rb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant