Test Setup Failed
Push — master ( 568f60...80f464 )
by
unknown
03:06
created
src/Oro/Bundle/MagentoBundle/Tests/Functional/Entity/OrderNoteTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@  discard block
 block discarded – undo
27 27
         $this->initClient([]);
28 28
 
29 29
         $this->manager = $this->getContainer()
30
-                              ->get('doctrine')
31
-                              ->getManager();
30
+                                ->get('doctrine')
31
+                                ->getManager();
32 32
 
33 33
         $this->fieldHelper = $this->getContainer()
34
-                                  ->get('oro_entity.helper.field_helper');
34
+                                    ->get('oro_entity.helper.field_helper');
35 35
 
36 36
         $this->loadFixtures([LoadOrderNotesData::class]);
37 37
     }
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
     public function testGetCreatedOrderNote()
69 69
     {
70 70
         $orderNote = $this->manager
71
-                          ->getRepository('OroMagentoBundle:OrderNote')
72
-                          ->findOneBy(['originId' => LoadOrderNotesData::DEFAULT_ORIGIN_ID]);
71
+                            ->getRepository('OroMagentoBundle:OrderNote')
72
+                            ->findOneBy(['originId' => LoadOrderNotesData::DEFAULT_ORIGIN_ID]);
73 73
 
74 74
         $this->assertNotNull($orderNote);
75 75
         $this->assertEquals($orderNote->getOriginId(), LoadOrderNotesData::DEFAULT_ORIGIN_ID);
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Functional/Form/MagentoIntegrationFormTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
         $input = $crawler->filter('input[name="oro_integration_channel_form[connectors][]"]');
55 55
 
56
-        $values = $input->each(function (Crawler $node) {
56
+        $values = $input->each(function(Crawler $node) {
57 57
             return $node->attr("value");
58 58
         });
59 59
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         return array_flip($this->typesRegistry->getAvailableConnectorsTypesChoiceList(
89 89
             $channelType,
90
-            function (ConnectorInterface $connector) {
90
+            function(ConnectorInterface $connector) {
91 91
                 return $connector instanceof ExtensionAwareInterface ? false : true;
92 92
             }
93 93
         ));
Please login to merge, or discard this patch.
MagentoBundle/Tests/Functional/Command/SyncCartExpirationCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         /** @var Channel $integration */
28 28
         $integration = $this->getReference('integration');
29 29
 
30
-        $result = $this->runCommand('oro:cron:magento:cart:expiration', ['--channel-id='.$integration->getId()]);
30
+        $result = $this->runCommand('oro:cron:magento:cart:expiration', ['--channel-id=' . $integration->getId()]);
31 31
 
32 32
         $this->assertContains('Run sync for "Demo Web store" channel', $result);
33 33
         $this->assertContains('Completed', $result);
Please login to merge, or discard this patch.
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.