From df655a66d5d204910cc334321560921e9b4d890c Mon Sep 17 00:00:00 2001
From: vpaladiychuk <vpaladiychuk@ebay.com>
Date: Sun, 15 Mar 2015 15:53:09 +0200
Subject: [PATCH] MAGETWO-34878: PR and cleanup

---
 .../Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php    | 2 +-
 lib/internal/Magento/Framework/Test/Unit/PhraseTest.php         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php

diff --git a/app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php b/app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
old mode 100644
new mode 100755
index 392e4585ed7..55518d9fab2
--- a/app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
+++ b/app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
@@ -238,7 +238,7 @@ class LoginTest extends \PHPUnit_Framework_TestCase
             ->expects($this->any())
             ->method('authenticate')
             ->with('invalid@example.com', 'invalid')
-            ->willThrowException(new InvalidEmailOrPasswordException(__('Invalid login or password.', [])));
+            ->willThrowException(new InvalidEmailOrPasswordException(__('Invalid login or password.')));
 
         $this->customerSession->expects($this->never())
             ->method('setCustomerDataAsLoggedIn')
diff --git a/lib/internal/Magento/Framework/Test/Unit/PhraseTest.php b/lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
index 07eefafe3c6..5c84d97c9c8 100755
--- a/lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
+++ b/lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
@@ -34,7 +34,7 @@ class PhraseTest extends \PHPUnit_Framework_TestCase
         $text = 'some text';
         $arguments = ['arg1', 'arg2'];
         $result = 'rendered text';
-        $phrase = new Phrase($text, $arguments);
+        $phrase = new \Magento\Framework\Phrase($text, $arguments);
         Phrase::setRenderer($this->rendererMock);
 
         $this->rendererMock->expects($this->once())
-- 
GitLab