From 234153d3044300b833bb0098d6019a004d25f60d Mon Sep 17 00:00:00 2001
From: Yaroslav Onischenko <yonischenko@ebay.com>
Date: Thu, 30 Apr 2015 14:20:53 +0300
Subject: [PATCH] MAGETWO-36266: [GITHUB] Something went wrong with the
 subscription. #1157

---
 .../Magento/Newsletter/Test/Unit/Model/SubscriberTest.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/code/Magento/Newsletter/Test/Unit/Model/SubscriberTest.php b/app/code/Magento/Newsletter/Test/Unit/Model/SubscriberTest.php
index 8692b5db827..bd8380299a5 100644
--- a/app/code/Magento/Newsletter/Test/Unit/Model/SubscriberTest.php
+++ b/app/code/Magento/Newsletter/Test/Unit/Model/SubscriberTest.php
@@ -3,7 +3,7 @@
  * Copyright © 2015 Magento. All rights reserved.
  * See COPYING.txt for license details.
  */
-namespace Magento\Newsletter\Model;
+namespace Magento\Newsletter\Test\Unit\Model;
 
 class SubscriberTest extends \PHPUnit_Framework_TestCase
 {
@@ -62,7 +62,8 @@ class SubscriberTest extends \PHPUnit_Framework_TestCase
      */
     protected $subscriber;
 
-    public function setUp() {
+    public function setUp()
+    {
         $this->newsletterData = $this->getMock('Magento\Newsletter\Helper\Data', [], [], '', false);
         $this->scopeConfig = $this->getMock('Magento\Framework\App\Config\ScopeConfigInterface');
         $this->transportBuilder = $this->getMock(
@@ -107,7 +108,8 @@ class SubscriberTest extends \PHPUnit_Framework_TestCase
         );
         $this->objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
 
-        $this->subscriber = $this->objectManager->getObject('Magento\Newsletter\Model\Subscriber',
+        $this->subscriber = $this->objectManager->getObject(
+            'Magento\Newsletter\Model\Subscriber',
             [
                 'newsletterData' => $this->newsletterData,
                 'scopeConfig' => $this->scopeConfig,
-- 
GitLab