File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
dev/tests/integration/testsuite/Magento
Framework/MessageQueue/UseCase
ImportExport/Model/Export/Adapter Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function testMoveFileFromTmp(): void
90
90
{
91
91
$ expectedFilePath = $ this ->imageUploader ->getBasePath () . DIRECTORY_SEPARATOR . 'magento_small_image_1.jpg ' ;
92
92
93
- $ this ->assertFileNotExists ($ this ->mediaDirectory ->getAbsolutePath ($ expectedFilePath ));
93
+ $ this ->assertFileDoesNotExist ($ this ->mediaDirectory ->getAbsolutePath ($ expectedFilePath ));
94
94
95
95
$ this ->imageUploader ->moveFileFromTmp ('magento_small_image.jpg ' );
96
96
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ public function testExecuteWithImageToDelete(): void
289
289
$ this ->updateHandler ->execute ($ product );
290
290
$ productImages = $ this ->galleryResource ->loadProductGalleryByAttributeId ($ product , $ this ->mediaAttributeId );
291
291
$ this ->assertCount (0 , $ productImages );
292
- $ this ->assertFileNotExists (
292
+ $ this ->assertFileDoesNotExist (
293
293
$ this ->mediaDirectory ->getAbsolutePath ($ this ->config ->getBaseMediaPath () . $ image )
294
294
);
295
295
$ defaultImages = $ this ->productResource ->getAttributeRawValue (
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public function testDeleteDirectory(): void
121
121
$ this ->storage ->createDirectory ($ dir , $ path );
122
122
$ this ->assertFileExists ($ fullPath );
123
123
$ this ->storage ->deleteDirectory ($ fullPath );
124
- $ this ->assertFileNotExists ($ fullPath );
124
+ $ this ->assertFileDoesNotExist ($ fullPath );
125
125
}
126
126
127
127
/**
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function testWildCardNonMatchingTopic()
63
63
$ testObject = $ this ->generateTestObject ();
64
64
$ this ->publisher ->publish ('not.matching.wildcard.topic ' , $ testObject );
65
65
sleep (2 );
66
- $ this ->assertFileNotExists ($ this ->logFilePath , "No log file must be created for non-matching topic. " );
66
+ $ this ->assertFileDoesNotExist ($ this ->logFilePath , "No log file must be created for non-matching topic. " );
67
67
}
68
68
69
69
/**
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function testDestruct(): void
62
62
);
63
63
/** Assert that the destination file was removed after destruct */
64
64
$ this ->csv = null ;
65
- $ this ->assertFileNotExists (
65
+ $ this ->assertFileDoesNotExist (
66
66
$ directoryHandle ->getAbsolutePath ($ this ->destination ),
67
67
'The destination file was \'t removed after destruct '
68
68
);
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ protected function tearDown(): void
86
86
87
87
public function testGeneration ()
88
88
{
89
- $ this ->assertFileNotExists ($ this ->_packPath );
89
+ $ this ->assertFileDoesNotExist ($ this ->_packPath );
90
90
91
91
ComponentRegistrar::register (
92
92
ComponentRegistrar::MODULE ,
You can’t perform that action at this time.
0 commit comments