File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Cms/Test/Unit/Controller/Adminhtml/Block Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public function testDeleteAction()
139
139
140
140
$ this ->messageManagerMock ->expects ($ this ->once ())
141
141
->method ('addSuccess ' )
142
- ->with (__ ('The block has been deleted . ' ));
142
+ ->with (__ ('You deleted the block . ' ));
143
143
$ this ->messageManagerMock ->expects ($ this ->never ())
144
144
->method ('addError ' );
145
145
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ public function testSaveAction()
210
210
211
211
$ this ->messageManagerMock ->expects ($ this ->once ())
212
212
->method ('addSuccess ' )
213
- ->with (__ ('The block has been saved . ' ));
213
+ ->with (__ ('You saved the block . ' ));
214
214
215
215
$ this ->sessionMock ->expects ($ this ->atLeastOnce ())->method ('setFormData ' )->with (false );
216
216
@@ -294,7 +294,7 @@ public function testSaveAndContinue()
294
294
295
295
$ this ->messageManagerMock ->expects ($ this ->once ())
296
296
->method ('addSuccess ' )
297
- ->with (__ ('The block has been saved . ' ));
297
+ ->with (__ ('You saved the block . ' ));
298
298
299
299
$ this ->sessionMock ->expects ($ this ->atLeastOnce ())->method ('setFormData ' )->with (false );
300
300
@@ -341,7 +341,7 @@ public function testSaveActionThrowsException()
341
341
342
342
$ this ->messageManagerMock ->expects ($ this ->any ())
343
343
->method ('addSuccess ' )
344
- ->with (__ ('The block has been saved . ' ));
344
+ ->with (__ ('You saved the block . ' ));
345
345
$ this ->messageManagerMock ->expects ($ this ->once ())
346
346
->method ('addError ' );
347
347
You can’t perform that action at this time.
0 commit comments