Skip to content

Commit

Permalink
Disable admin preview for extensions test apps
Browse files Browse the repository at this point in the history
The new admin is far from complete and existing
extensions will fail if we test them with the
new default admin that we generate apps with.

It can be enabled by setting ADMIN_PREVIEW=true
in your test env.
  • Loading branch information
tvdeyen committed Jan 16, 2024
1 parent be710f3 commit 27b94a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/spree/testing_support/common_rake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def initialize
'solidus:install',
Dir.pwd, # use the current dir as Rails.root
"--auto-accept",
"--admin-preview=#{ENV.fetch('ADMIN_PREVIEW', 'false')}",

Check warning on line 34 in core/lib/spree/testing_support/common_rake.rb

View check run for this annotation

Codecov / codecov/patch

core/lib/spree/testing_support/common_rake.rb#L34

Added line #L34 was not covered by tests
"--authentication=none",
"--payment-method=none",
"--migrate=false",
Expand Down

0 comments on commit 27b94a9

Please sign in to comment.