Test Setup Failed
Push — master ( 9ac96a...3b1d0b )
by
unknown
05:37
created
Bundle/MagentoBundle/EventListener/UpdateIntegrationConnectorsListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
         /** @var MagentoTransportInterface $transport */
76 76
         $transport = $this->typeRegistry
77
-                          ->getTransportTypeBySettingEntity($this->transportEntity, $this->channelType);
77
+                            ->getTransportTypeBySettingEntity($this->transportEntity, $this->channelType);
78 78
 
79 79
         $transport->init($this->transportEntity);
80 80
 
Please login to merge, or discard this patch.
src/Oro/Bundle/MagentoBundle/Model/ChannelSettingsProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
     public function hasOrganizationApplicableChannels(Organization $organization, $checkExtension = true)
112 112
     {
113 113
         /**
114
-        * @todo Remove dependency on exact magento channel type in CRM-8153
115
-        */
114
+         * @todo Remove dependency on exact magento channel type in CRM-8153
115
+         */
116 116
         $channels = $this->doctrineHelper
117 117
             ->getEntityRepository($this->channelClassName)
118 118
             ->findBy(['type' => MagentoChannelType::TYPE, 'enabled' => true, 'organization' => $organization]);
Please login to merge, or discard this patch.
MagentoBundle/Tests/Functional/Entity/Repository/CartRepositoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $expectedData = [
43 43
             [
44 44
                 'label' => 'oro.workflow.b2c_flow_abandoned_shopping_cart.step.open.label',
45
-                 //value=OpenCart1 [not applied: OpenCart2(disabled channel), OpenCart3(expired), OpenCart4(purchased)]
45
+                    //value=OpenCart1 [not applied: OpenCart2(disabled channel), OpenCart3(expired), OpenCart4(purchased)]
46 46
                 'value' => 10,
47 47
                 'isNozzle' => false
48 48
             ],
Please login to merge, or discard this patch.
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.
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/Unit/Service/MagentoUrlGeneratorTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -165,12 +165,12 @@
 block discarded – undo
165 165
         $origin
166 166
     ) {
167 167
         $result = $adminUrl .
168
-                  '/oro_gateway/do?'.$origin.'=' .
169
-                  $id .
170
-                  '&route=' . $magentoRoute .
171
-                  '&workflow=' . $flowName .
172
-                  '&success_url=' . urlencode($successUrl) .
173
-                  '&error_url=' . urlencode($errorUrl);
168
+                    '/oro_gateway/do?'.$origin.'=' .
169
+                    $id .
170
+                    '&route=' . $magentoRoute .
171
+                    '&workflow=' . $flowName .
172
+                    '&success_url=' . urlencode($successUrl) .
173
+                    '&error_url=' . urlencode($errorUrl);
174 174
 
175 175
         $this->transport->expects($this->atLeastOnce())->method('getAdminUrl')->will($this->returnValue($adminUrl));
176 176
 
Please login to merge, or discard this patch.
Tests/Unit/EventListener/UpdateIntegrationConnectorsListenerTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@
 block discarded – undo
28 28
         $this->transport = $this->createMock(MagentoTransportInterface::class);
29 29
 
30 30
         $this->transport
31
-             ->expects($this->any())
32
-             ->method('isSupportedExtensionVersion')
33
-             ->willReturn(false);
31
+                ->expects($this->any())
32
+                ->method('isSupportedExtensionVersion')
33
+                ->willReturn(false);
34 34
 
35 35
         $this->typesRegistry
36
-             ->expects($this->any())
37
-             ->method('getTransportTypeBySettingEntity')
38
-             ->willReturn($this->transport);
36
+                ->expects($this->any())
37
+                ->method('getTransportTypeBySettingEntity')
38
+                ->willReturn($this->transport);
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Provider/TransportEntityProviderTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -97,18 +97,18 @@
 block discarded – undo
97 97
             });
98 98
 
99 99
         $this->form
100
-             ->expects($this->once())
101
-             ->method('getData')
102
-             ->willReturn($this->transportEntity);
100
+                ->expects($this->once())
101
+                ->method('getData')
102
+                ->willReturn($this->transportEntity);
103 103
 
104 104
         $this->form
105
-             ->expects($this->once())
106
-             ->method('handleRequest');
105
+                ->expects($this->once())
106
+                ->method('handleRequest');
107 107
 
108 108
         $this->formFactory
109
-             ->expects($this->once())
110
-             ->method('createNamed')
111
-             ->willReturn($this->form);
109
+                ->expects($this->once())
110
+                ->method('createNamed')
111
+                ->willReturn($this->form);
112 112
 
113 113
         $transport = $this->createMock(MagentoTransportInterface::class);
114 114
         $transport->method('getSettingsEntityFQCN')->willReturn($fqcn);
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Provider/ConnectorChoicesProviderTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
         $this->translator    = $this->createMock(Translator::class);
26 26
 
27 27
         $this->translator
28
-             ->expects($this->any())
29
-             ->method('trans')
30
-             ->will($this->returnArgument(0));
28
+                ->expects($this->any())
29
+                ->method('trans')
30
+                ->will($this->returnArgument(0));
31 31
 
32 32
         $this->connectorChoicesProvider = new ConnectorChoicesProvider(
33 33
             $this->typesRegistry,
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
         $expected = ['test' => 'test'];
52 52
 
53 53
         $this->typesRegistry
54
-             ->expects($this->once())
55
-             ->method('getAvailableConnectorsTypesChoiceList')
56
-             ->willReturn($expected);
54
+                ->expects($this->once())
55
+                ->method('getAvailableConnectorsTypesChoiceList')
56
+                ->willReturn($expected);
57 57
 
58 58
         $choices = $this->connectorChoicesProvider->getAllowedConnectorsChoices(true, true, 'magento');
59 59
         $this->assertEquals(
Please login to merge, or discard this patch.