File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/Email/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ protected function setUp(): void
97
97
->getMockForAbstractClass ();
98
98
99
99
$ this ->store = $ this ->getMockBuilder (Store::class)
100
- ->setMethods (['getFrontendName ' , 'getId ' ])
100
+ ->setMethods (['getFrontendName ' , 'getId ' , ' getFormattedAddress ' ])
101
101
->disableOriginalConstructor ()
102
102
->getMock ();
103
103
$ this ->store ->expects ($ this ->any ())
@@ -106,6 +106,9 @@ protected function setUp(): void
106
106
$ this ->store ->expects ($ this ->any ())
107
107
->method ('getFrontendName ' )
108
108
->willReturn ('storeId ' );
109
+ $ this ->store ->expects ($ this ->any ())
110
+ ->method ('getFormattedAddress ' )
111
+ ->willReturn ("Test Store \n Street 1 " );
109
112
$ this ->storeManager ->expects ($ this ->any ())
110
113
->method ('getStore ' )
111
114
->willReturn ($ this ->store );
You can’t perform that action at this time.
0 commit comments