File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/code/Magento/Translation Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ public function testProcess()
117
117
->willReturn ($ area );
118
118
$ chain ->expects ($ this ->once ())
119
119
->method ('getContent ' )
120
- ->willReturnMap ([ $ this -> translateMock ] );
120
+ ->willReturn ( ' $t("Add to Cart") ' );
121
121
$ this ->configMock ->expects ($ this ->any ())
122
122
->method ('getPatterns ' )
123
123
->willReturn (new \ArrayIterator (
@@ -128,7 +128,7 @@ public function testProcess()
128
128
));
129
129
$ chain ->expects ($ this ->once ())
130
130
->method ('setContent ' )
131
- ->willReturn ($ this -> translateMock );
131
+ ->willReturn (' In Winkelwagen ' );
132
132
$ this ->model ->process ($ chain );
133
133
}
134
134
}
Original file line number Diff line number Diff line change 10
10
"magento/module-backend" : " *" ,
11
11
"magento/module-developer" : " *" ,
12
12
"magento/module-store" : " *" ,
13
- "magento/module-theme" : " *"
13
+ "magento/module-theme" : " *" ,
14
+ "magento/module-deploy" : " *"
14
15
},
15
16
"suggest" : {
16
17
"magento/module-deploy" : " *"
You can’t perform that action at this time.
0 commit comments