File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function setTransferables(iTransferable ...$transferables) : Pull {
6262 */
6363 public function __invoke () : void {
6464 foreach ($ this ->getTransferables () as $ transferable ) {
65- $ this ->deployerFunctions ->download ($ transferable ->getLocalPath (), $ transferable ->getRemotePath (), $ transferable ->getConfig ());
65+ $ this ->deployerFunctions ->download ($ transferable ->getRemotePath (), $ transferable ->getLocalPath (), $ transferable ->getConfig ());
6666 }
6767 }
6868}
Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ public function test__invoke() : void {
5454 ->expects (self ::exactly (3 ))
5555 ->method ('download ' )
5656 ->withConsecutive (
57- ['local1 ' , 'remote1 ' , ['config1 ' ]],
58- ['local2 ' , 'remote2 ' , ['config2 ' ]],
59- ['local3 ' , 'remote3 ' , ['config3 ' ]],
57+ ['remote1 ' , 'local1 ' , ['config1 ' ]],
58+ ['remote2 ' , 'local2 ' , ['config2 ' ]],
59+ ['remote3 ' , 'local3 ' , ['config3 ' ]],
6060 );
6161
6262 $ this ->sut ->__invoke ();
You can’t perform that action at this time.
0 commit comments