mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 18:58:10 +00:00
FIX: BackupRestore::DatabaseRestorer
failures with Ruby 3
Implemented workaround suggested at https://github.com/freerange/mocha/issues/445#issuecomment-644944003
This commit is contained in:
parent
1b99f99ff7
commit
9a083a550c
@ -33,7 +33,7 @@ shared_context "shared stuff" do
|
||||
end
|
||||
|
||||
def expect_db_migrate
|
||||
Discourse::Utils.expects(:execute_command).with do |env, *command, **options|
|
||||
Discourse::Utils.expects(:execute_command).with do |env, *command, options|
|
||||
env["SKIP_POST_DEPLOYMENT_MIGRATIONS"] == "0" &&
|
||||
env["SKIP_OPTIMIZE_ICONS"] == "1" &&
|
||||
env["DISABLE_TRANSLATION_OVERRIDES"] == "1" &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user