FIX: `BackupRestore::DatabaseRestorer` failures with Ruby 3

FIX: BackupRestore::DatabaseRestorer failures with Ruby 3

Implemented workaround suggested at Work out whether any changes are needed for positional/keyword args in Ruby 2.7 · Issue #445 · freerange/mocha · GitHub

diff --git a/spec/lib/backup_restore/shared_context_for_backup_restore.rb b/spec/lib/backup_restore/shared_context_for_backup_restore.rb
index 2ff7817..0fbc8ad 100644
--- a/spec/lib/backup_restore/shared_context_for_backup_restore.rb
+++ b/spec/lib/backup_restore/shared_context_for_backup_restore.rb
@@ -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" &&

GitHub sha: 9a083a550c4b54ad47c19d23263570528446ff80

This commit appears in #14580 which was approved by eviltrout. It was merged by eviltrout.