Completed
Push — master ( a44c5f...daff92 )
by Tim
11s
created
tests/Subjects/EeBunchSubjectTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -51,18 +51,18 @@  discard block
 block discarded – undo
51 51
 
52 52
         // create a mock registry processor
53 53
         $mockRegistryProcessor = $this->getMockBuilder('TechDivision\Import\Services\RegistryProcessorInterface')
54
-                                      ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface'))
55
-                                      ->getMock();
54
+                                        ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface'))
55
+                                        ->getMock();
56 56
 
57 57
         // create a mock category processor
58 58
         $mockCategoryProcessor = $this->getMockBuilder('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')
59
-                                      ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
60
-                                      ->getMock();
59
+                                        ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
60
+                                        ->getMock();
61 61
 
62 62
         // create a generator
63 63
         $mockGenerator = $this->getMockBuilder('TechDivision\Import\Utils\Generators\GeneratorInterface')
64
-                              ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface'))
65
-                              ->getMock();
64
+                                ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface'))
65
+                                ->getMock();
66 66
 
67 67
         // create the subject to be tested
68 68
         $this->subject = new EeBunchSubject(
@@ -83,17 +83,17 @@  discard block
 block discarded – undo
83 83
 
84 84
         // create a mock category processor
85 85
         $mockProcessor = $this->getMockBuilder('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')
86
-                              ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
87
-                              ->getMock();
86
+                                ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
87
+                                ->getMock();
88 88
         $mockProcessor->expects($this->once())
89
-                      ->method('persistCategory')
90
-                      ->with($category = array('path' => '2/3/4'))
91
-                      ->willReturn(null);
89
+                        ->method('persistCategory')
90
+                        ->with($category = array('path' => '2/3/4'))
91
+                        ->willReturn(null);
92 92
 
93 93
         // create a mock subject configuration
94 94
         $mockSubjectConfiguration = $this->getMockBuilder('TechDivision\Import\Configuration\SubjectConfigurationInterface')
95
-                                         ->setMethods(get_class_methods('TechDivision\Import\Configuration\SubjectConfigurationInterface'))
96
-                                         ->getMock();
95
+                                            ->setMethods(get_class_methods('TechDivision\Import\Configuration\SubjectConfigurationInterface'))
96
+                                            ->getMock();
97 97
 
98 98
         // inject the processor + configuration
99 99
         $this->subject->setCategoryProcessor($mockProcessor);
Please login to merge, or discard this patch.