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 f971e7af207e8780a89b6743121875a2a93b1ef2..6d23dc442cd40ae0c1a4d9e59610b74d21e26b16
--- 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')