File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/OfflineShipping/Test/Unit/Model/ResourceModel/Carrier Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 99
1010use Magento \Framework \App \Config \ScopeConfigInterface ;
1111use Magento \Framework \App \DeploymentConfig ;
12+ use Magento \Framework \App \Filesystem \DirectoryList ;
1213use Magento \Framework \App \Request \Http ;
1314use Magento \Framework \App \RequestFactory ;
1415use Magento \Framework \App \ResourceConnection ;
@@ -129,7 +130,7 @@ public function testUploadAndImport()
129130 ->with ('import.csv ' )->willReturn ($ fileReadMock );
130131 $ this ->filesystemMock ->expects ($ this ->once ())
131132 ->method ('getDirectoryWrite ' )
132- ->with (' some/path/to/file ' )->willReturn ($ writeMock );
133+ ->with (DirectoryList:: VAR_IMPORT_EXPORT )->willReturn ($ writeMock );
133134
134135 $ this ->resource ->expects ($ this ->once ())->method ('getConnection ' )->willReturn ($ connectionMock );
135136
You can’t perform that action at this time.
0 commit comments