From 0b8ee00900c1d85de772def6f38ceca534305eb7 Mon Sep 17 00:00:00 2001 From: vpaladiychuk <vpaladiychuk@ebay.com> Date: Sun, 15 Mar 2015 21:19:37 +0200 Subject: [PATCH] MAGETWO-34878: PR and cleanup --- .../Test/Unit/Controller/Index/UpdateItemOptionsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 app/code/Magento/Wishlist/Test/Unit/Controller/Index/UpdateItemOptionsTest.php diff --git a/app/code/Magento/Wishlist/Test/Unit/Controller/Index/UpdateItemOptionsTest.php b/app/code/Magento/Wishlist/Test/Unit/Controller/Index/UpdateItemOptionsTest.php old mode 100644 new mode 100755 index f971e7af207..6d23dc442cd --- a/app/code/Magento/Wishlist/Test/Unit/Controller/Index/UpdateItemOptionsTest.php +++ b/app/code/Magento/Wishlist/Test/Unit/Controller/Index/UpdateItemOptionsTest.php @@ -372,7 +372,7 @@ class UpdateItemOptionsTest extends \PHPUnit_Framework_TestCase ->expects($this->once()) ->method('addSuccess') ->with('Test name has been updated in your wish list.', null) - ->willThrowException(new \Magento\Framework\Exception\LocalizedException('error-message')); + ->willThrowException(new \Magento\Framework\Exception\LocalizedException(__('error-message'))); $this->messageManager ->expects($this->once()) ->method('addError') -- GitLab