File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
app/code/Magento/Email/Test/Unit/Model/Plugin Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
use Magento \Email \Model \Plugin \GetUrl ;
11
11
use Magento \Store \Model \Store ;
12
+ use Magento \Email \Model \AbstractTemplate ;
12
13
use PHPUnit \Framework \MockObject \MockObject ;
13
14
use PHPUnit \Framework \TestCase ;
14
15
@@ -17,13 +18,11 @@ class GetUrlTest extends TestCase
17
18
/** @var Store|MockObject */
18
19
private $ storeMock ;
19
20
20
- /** @var GetUrl|Object */
21
+ /** @var GetUrl */
21
22
private $ plugin ;
22
23
23
24
/**
24
- * setUp
25
- *
26
- * @return void
25
+ * @inheritdoc
27
26
*/
28
27
protected function setUp (): void
29
28
{
@@ -43,7 +42,7 @@ public function testBeforeGetUrl(): void
43
42
$ params ['_escape_params ' ] = $ storeCode ;
44
43
$ route = '' ;
45
44
46
- $ abstractTemplateMock = $ this ->getMockBuilder (\ Magento \ Email \ Model \ AbstractTemplate::class)
45
+ $ abstractTemplateMock = $ this ->getMockBuilder (AbstractTemplate::class)
47
46
->disableOriginalConstructor ()
48
47
->getMock ();
49
48
You can’t perform that action at this time.
0 commit comments