Refactoring
This commit is contained in:
1 parent
af40881847
commit
a7274d3cfd
5075 files changed
+238202
-16291
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$I = new CliGuy($scenario);
|
||||
|
||||
$I->wantTo('overwrite a file with CopyDir task');
|
||||
$I->amInPath(codecept_data_dir() . 'sandbox');
|
||||
$I->seeDirFound('some');
|
||||
$I->seeFileFound('existing_file', 'some');
|
||||
$I->taskCopyDir(['some' => 'some_destination'])
|
||||
->run();
|
||||
$I->seeFileFound('existing_file', 'some_destination/deeply');
|
||||
$I->openFile('some_destination/deeply/existing_file');
|
||||
$I->seeInThisFile('some existing file');
|
||||
Reference in new issue
Block a user