File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
app/code/Magento/Cms/Test/Unit Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ protected function setUp()
44
44
45
45
protected function tearDown ()
46
46
{
47
- $ this ->linkElement == null ;
47
+ $ this ->linkElement = null ;
48
48
}
49
49
50
50
public function testGetHrefEmpty ()
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ protected function tearDown()
157
157
}
158
158
159
159
/**
160
- * @param $path
160
+ * @param string $path
161
161
* @return string
162
162
*/
163
163
protected function getAbsolutePath ($ path )
@@ -369,7 +369,9 @@ public function testGetCurrentPathThrowException()
369
369
->willReturn (false );
370
370
$ this ->directoryWriteMock ->expects ($ this ->any ())
371
371
->method ('create ' )
372
- ->willThrowException (new \Magento \Framework \Exception \FileSystemException (__ ('' )));
372
+ ->willThrowException (
373
+ new \Magento \Framework \Exception \FileSystemException (__ ('Could not create directory. ' ))
374
+ );
373
375
374
376
$ this ->imagesHelper ->getCurrentPath ();
375
377
@@ -412,7 +414,7 @@ public function testGetCurrentUrl()
412
414
413
415
/**
414
416
* @param string $baseUrl
415
- * @param string $filename
417
+ * @param string $fileName
416
418
* @param bool $isUsingStaticUrls
417
419
* @param string $expectedHtml
418
420
* @dataProvider providerGetImageHtmlDeclarationRenderingAsTag
You can’t perform that action at this time.
0 commit comments