@@ -45,7 +45,7 @@ public function testSimulatedSqlSync()
4545 // Test simulated simple rsync remote-to-local
4646 $ this ->drush ('sql:sync ' , ['@synctest.remote ' , '@synctest.local ' ], $ options , '@synctest.local ' , null , self ::EXIT_SUCCESS , '2>&1 ' );
4747 $ output = $ this ->getSimplifiedOutput ();
48- $ this ->
assertContains (
"Simulating backend invoke: ssh -o PasswordAuthentication=whatever [email protected] '/path/to/drush --backend=2 --strict=0 $ expectedAliasPath --root=__SUT__/web --uri=remote sql-dump --no-interaction --gzip --result-file " ,
$ output);
48+ $ this ->
assertContains (
"Simulating backend invoke: ssh -o PasswordAuthentication=whatever [email protected] '/path/to/drush --backend=2 --strict=0 --root=__SUT__/web --uri=remote sql-dump --no-interaction --gzip --result-file " ,
$ output);
4949 $ this ->assertContains ("Simulating backend invoke: __SUT__/vendor/drush/drush/drush --backend=2 $ expectedAliasPath --root=__SUT__/web --uri=local core-rsync '@synctest.remote:/simulated/path/to/dump.tgz' '@synctest.local:__SANDBOX__/tmp/dump.tgz' -- --remove-source-files " , $ output );
5050 $ this ->assertContains ("Simulating backend invoke: __SUT__/vendor/drush/drush/drush --backend=2 --strict=0 $ expectedAliasPath --root=__SUT__/web --uri=local sql-query --no-interaction --file=__SANDBOX__/tmp/dump.tgz --file-delete " , $ output );
5151
@@ -54,7 +54,7 @@ public function testSimulatedSqlSync()
5454 $ output = $ this ->getSimplifiedOutput ();
5555 $ this ->assertContains ("Simulating backend invoke: __SUT__/vendor/drush/drush/drush --backend=2 --strict=0 $ expectedAliasPath --root=__SUT__/web --uri=local sql-dump --no-interaction --gzip --result-file " , $ output );
5656 $ this ->assertContains ("Simulating backend invoke: __SUT__/vendor/drush/drush/drush --backend=2 $ expectedAliasPath --root=__SUT__/web --uri=local core-rsync '@synctest.local:/simulated/path/to/dump.tgz' '@synctest.remote:/tmp/dump.tgz' -- --remove-source-files " , $ output );
57- $ this ->
assertContains (
"Simulating backend invoke: ssh -o PasswordAuthentication=whatever [email protected] '/path/to/drush --backend=2 --strict=0 $ expectedAliasPath --root=__SUT__/web --uri=remote sql-query --no-interaction --file=/tmp/dump.tgz --file-delete " ,
$ output);
57+ $ this ->
assertContains (
"Simulating backend invoke: ssh -o PasswordAuthentication=whatever [email protected] '/path/to/drush --backend=2 --strict=0 --root=__SUT__/web --uri=remote sql-query --no-interaction --file=/tmp/dump.tgz --file-delete " ,
$ output);
5858
5959
6060 // Test simulated backend invoke with a remote runner.
@@ -63,7 +63,7 @@ public function testSimulatedSqlSync()
6363 // they are used with drush_invoke_process.
6464 $ this ->drush ('sql:sync ' , ['@synctest.remote ' , '@synctest.local ' ], $ options , 'user@server/path/to/drupal#sitename ' , null , self ::EXIT_SUCCESS , '2>&1 ' );
6565 $ output = $ this ->getSimplifiedOutput ();
66- $ this ->assertContains ("Simulating backend invoke: ssh -o PasswordAuthentication=no user@server 'drush $ expectedAliasPath --root=/path/to/drupal --uri=sitename --no-interaction sql:sync '\''@synctest.remote'\'' '\''@synctest.local'\'' " , $ output );
66+ $ this ->assertContains ("Simulating backend invoke: ssh -o PasswordAuthentication=no user@server 'drush --root=/path/to/drupal --uri=sitename --no-interaction sql:sync '\''@synctest.remote'\'' '\''@synctest.local'\'' " , $ output );
6767 }
6868
6969 /**
0 commit comments