Skip to content

Conversation

@forkata
Copy link

@forkata forkata commented Oct 7, 2025

Temporary PR to test running tests on Circle against newer versions of Solidus.

PLEASE DO NOT MERGE

kjriga and others added 10 commits October 7, 2025 13:30
We want to support Solidus 4. Also add some gems that are missing for
Solidus 4 functionality. And fixed the circle ci config to run tests
successfully. Since main can go beyond v4.5 I locked it in.
- Update method name from order_finalized to send_confirmation_email
- Change target class from Spree::MailerSubscriber to Spree::OrderMailerSubscriber
- Remove version conditional since gem now only supports Solidus 4+
No longer required with Solidus 4+. The method it is overriding doesn't
exist anymore.
Error: unrecognized cop or department RSpec/NestedGroups found in .rubocop.yml
unrecognized cop or department RSpec/MessageSpies found in .rubocop.yml

Exited with code exit status 2
- Add the requirement of open struct now that it isn't automatically
  included
- Change expectations to account for changes with how state changes are
  handled in background jobs. solidusio/solidus@2a2df71
- Replace build_stubbed with just build, some objects were missing
  fields
- Since we removed the requirement for solidus_frontend from this gem,
  we don't care about the reset password email sending so we can just
  stub it out
NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger

    Logger::Severity.constants.each do |severity|
    ^^^^^^
To fix 'stack level too deep' error.
Similar to the confirm email, we need this to respect the
'disable_builtin_emails' value.
The Circle.ci Orb relies on this environment variable for switching the
Solidus version, so we need to match that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants