Test Setup Failed
Push — master ( 795707...861da3 )
by
unknown
03:21
created
MagentoBundle/Tests/Functional/Fixture/LoadNewsletterSubscriberData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,6 @@
 block discarded – undo
125 125
      */
126 126
     public function getDependencies()
127 127
     {
128
-        return [__NAMESPACE__.'\LoadMagentoChannel'];
128
+        return [__NAMESPACE__ . '\LoadMagentoChannel'];
129 129
     }
130 130
 }
Please login to merge, or discard this patch.
Functional/Fixture/CopyCustomerAddressToContact/LoadMagentoChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             ->createGuestCustomerGroup()
101 101
             ->createStore();
102 102
 
103
-        $account        = $this->createAccount();
103
+        $account = $this->createAccount();
104 104
         $this->setReference('account', $account);
105 105
         for ($i = 1; $i <= 5; $i++) {
106 106
             $magentoAddress = $this->createMagentoAddress($this->regions['US-AZ'], $this->countries['US']);
Please login to merge, or discard this patch.
src/Oro/Bundle/MagentoBundle/Tests/Functional/Fixture/LoadCustomerData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $customer->setDataChannel($this->getReference('default_channel'));
65 65
         $customer->setFirstName($firstName);
66 66
         $customer->setLastName($lastname);
67
-        $customer->setEmail(strtolower($firstName . '_' . $lastname .'@example.com'));
67
+        $customer->setEmail(strtolower($firstName . '_' . $lastname . '@example.com'));
68 68
         $customer->setIsActive(true);
69 69
         $customer->setWebsite($this->getReference('website'));
70 70
         $customer->setStore($this->getReference('store'));
Please login to merge, or discard this patch.
Oro/Bundle/MagentoBundle/Tests/Functional/Controller/DeleteChannelTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
         $operation = $container->get('oro_action.operation_registry')->findByName($operationName);
124 124
         $actionData = $container->get('oro_action.helper.context')->getActionData($actionContext);
125 125
 
126
-        $tokenData =$container->get('oro_action.operation.execution.form_provider')
126
+        $tokenData = $container->get('oro_action.operation.execution.form_provider')
127 127
             ->createTokenData($operation, $actionData);
128 128
         $container->get('session')->save();
129 129
 
Please login to merge, or discard this patch.
Oro/Bundle/MagentoBundle/Tests/Functional/Controller/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             $requestData['gridFilters'],
60 60
             $this->isRealGridRequest
61 61
         );
62
-        $result   = $this->getJsonResponseContent($response, 200);
62
+        $result = $this->getJsonResponseContent($response, 200);
63 63
 
64 64
         foreach ($result['data'] as $key => $row) {
65 65
             if ($shouldAssertData) {
Please login to merge, or discard this patch.
MagentoBundle/Tests/Functional/Controller/CreditMemoControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
                         'magento-credit-memo-grid[_filter][status][value]'    => 'refunded',
63 63
                     ],
64 64
                     'assert'              => [
65
-                         'channelName' => 'Magento channel',
66
-                         'refunded'    => '$120.50',
65
+                            'channelName' => 'Magento channel',
66
+                            'refunded'    => '$120.50',
67 67
                     ],
68 68
                     'expectedResultCount' => 1
69 69
                 ],
Please login to merge, or discard this patch.
src/Oro/Bundle/MagentoBundle/Tests/Functional/Api/CreditMemoItemApiTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $entityType = $this->getEntityType(CreditMemoItem::class);
23 23
         $response = $this->cget(['entity' => $entityType]);
24
-        $this->assertResponseContains(__DIR__.'/responses/get_credit_memo_items.yml', $response);
24
+        $this->assertResponseContains(__DIR__ . '/responses/get_credit_memo_items.yml', $response);
25 25
     }
26 26
 
27 27
     public function testGetCreditMemoItem()
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
             'entity' => $this->getEntityType(CreditMemoItem::class),
31 31
             'id' => '<toString(@creditMemoItem->id)>',
32 32
         ]);
33
-        $this->assertResponseContains(__DIR__.'/responses/get_credit_memo_item.yml', $response);
33
+        $this->assertResponseContains(__DIR__ . '/responses/get_credit_memo_item.yml', $response);
34 34
     }
35 35
 
36 36
     public function testCreateCreditMemoItem()
@@ -39,12 +39,12 @@  discard block
 block discarded – undo
39 39
 
40 40
         $response = $this->post(
41 41
             ['entity' => $entityType],
42
-            __DIR__.'/requests/create_credit_memo_item.yml'
42
+            __DIR__ . '/requests/create_credit_memo_item.yml'
43 43
         );
44 44
 
45 45
         /** @var CreditMemoItem $creditMemoItem */
46 46
         $creditMemoItem = $this->doctrineHelper->getEntityRepository(CreditMemoItem::class)->findOneByOriginId('141');
47
-        $this->assertResponseContains(__DIR__.'/responses/create_credit_memo_item.yml', $response, $creditMemoItem);
47
+        $this->assertResponseContains(__DIR__ . '/responses/create_credit_memo_item.yml', $response, $creditMemoItem);
48 48
         $this->assertEquals('sku', $creditMemoItem->getSku());
49 49
         $this->assertSame($this->getReference('creditMemo')->getId(), $creditMemoItem->getParent()->getId());
50 50
     }
Please login to merge, or discard this patch.
Tests/Functional/ImportExport/Import/Rest/WebsiteImportTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     protected function assertWebsitesEquals(array $expectedWebsites)
123 123
     {
124 124
         $websiteEntities = $this->em->getRepository(Website::class)->findBy([], ['originId' => 'ASC']);
125
-        $websites = array_map(function (Website $item) {
125
+        $websites = array_map(function(Website $item) {
126 126
             return [
127 127
                 'id' =>   $item->getOriginId(),
128 128
                 'code' => $item->getCode(),
Please login to merge, or discard this patch.
Tests/Functional/ImportExport/Import/Rest/RegionImportTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     protected function assertRegionsEquals(array $expectedRegions)
132 132
     {
133 133
         $regionEntities = $this->em->getRepository(Region::class)->findBy([], ['id' => 'ASC']);
134
-        $regions = array_map(function (Region $item) {
134
+        $regions = array_map(function(Region $item) {
135 135
             return [
136 136
                 "combinedCode" => $item->getCombinedCode(),
137 137
                 "code" => $item->getCode(),
Please login to merge, or discard this patch.