@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | public function testGetResourceId() |
51 | 51 | { |
52 | - $this->assertSame($this->target->getResourceId(), 'Entity/OrganizationImage'); |
|
52 | + $this->assertSame($this->target->getResourceId(), 'Entity/OrganizationImage'); |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | public function testGetUriWithAndWithoutFilename() |
@@ -86,11 +86,11 @@ |
||
86 | 86 | ->getMock(); |
87 | 87 | |
88 | 88 | $target->expects($this->exactly(2)) |
89 | - ->method('add') |
|
90 | - ->withConsecutive( |
|
89 | + ->method('add') |
|
90 | + ->withConsecutive( |
|
91 | 91 | array($expectAdd1), |
92 | 92 | array($expectAdd2) |
93 | - ); |
|
93 | + ); |
|
94 | 94 | |
95 | 95 | $target->init(); |
96 | 96 | $this->assertEquals('employees', $target->getName()); |
@@ -102,15 +102,15 @@ |
||
102 | 102 | ->getMock(); |
103 | 103 | |
104 | 104 | $target->expects($this->exactly(4)) |
105 | - ->method('add') |
|
106 | - ->withConsecutive( |
|
105 | + ->method('add') |
|
106 | + ->withConsecutive( |
|
107 | 107 | array($expectAdd1), |
108 | 108 | array($expectAdd2), |
109 | 109 | array($expectAdd3), |
110 | 110 | array($expectAdd4) |
111 | 111 | |
112 | 112 | |
113 | - ); |
|
113 | + ); |
|
114 | 114 | |
115 | 115 | $target->init(); |
116 | 116 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | $modules = array_merge( |
3 | - include_once __DIR__.'/../../../config/common.modules.php', |
|
4 | - [ |
|
5 | - 'Core', |
|
6 | - 'Auth', |
|
7 | - 'Jobs', |
|
8 | - 'Organizations' |
|
9 | - ] |
|
3 | + include_once __DIR__.'/../../../config/common.modules.php', |
|
4 | + [ |
|
5 | + 'Core', |
|
6 | + 'Auth', |
|
7 | + 'Jobs', |
|
8 | + 'Organizations' |
|
9 | + ] |
|
10 | 10 | ); |
11 | 11 | return array( |
12 | 12 | 'modules' => $modules, |
@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | return array( |
4 | 4 | // This should be an array of module namespaces used in the application. |
5 | 5 | 'modules' => array_merge($commonModules,[ |
6 | - 'Core', |
|
7 | - 'Auth', |
|
6 | + 'Core', |
|
7 | + 'Auth', |
|
8 | 8 | ]), |
9 | 9 | |
10 | 10 | // These are various options for the listeners attached to the ModuleManager |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | // ), |
61 | 61 | // ) |
62 | 62 | |
63 | - // Initial configuration with which to seed the ServiceManager. |
|
64 | - // Should be compatible with Zend\ServiceManager\Config. |
|
65 | - // 'service_manager' => array(), |
|
63 | + // Initial configuration with which to seed the ServiceManager. |
|
64 | + // Should be compatible with Zend\ServiceManager\Config. |
|
65 | + // 'service_manager' => array(), |
|
66 | 66 | ); |
67 | 67 | \ No newline at end of file |
@@ -2,10 +2,10 @@ discard block |
||
2 | 2 | return array( |
3 | 3 | // This should be an array of module namespaces used in the application. |
4 | 4 | 'modules' => array_merge( |
5 | - include_once __DIR__.'/../../../config/common.modules.php', |
|
6 | - array( |
|
5 | + include_once __DIR__.'/../../../config/common.modules.php', |
|
6 | + array( |
|
7 | 7 | 'Core', 'Auth', 'Jobs', 'Applications', 'Organizations' |
8 | - ) |
|
8 | + ) |
|
9 | 9 | ), |
10 | 10 | |
11 | 11 | // These are various options for the listeners attached to the ModuleManager |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | // ), |
62 | 62 | // ) |
63 | 63 | |
64 | - // Initial configuration with which to seed the ServiceManager. |
|
65 | - // Should be compatible with Zend\ServiceManager\Config. |
|
66 | - // 'service_manager' => array(), |
|
64 | + // Initial configuration with which to seed the ServiceManager. |
|
65 | + // Should be compatible with Zend\ServiceManager\Config. |
|
66 | + // 'service_manager' => array(), |
|
67 | 67 | ); |
68 | 68 | \ No newline at end of file |
@@ -55,7 +55,7 @@ |
||
55 | 55 | $target = new MissingDependencyException($dependency, $object, $previous); |
56 | 56 | |
57 | 57 | $expectedMessage = sprintf('Missing dependency "%s" in "%s"', |
58 | - $dependency, is_object($object) ? get_class($object) : $object); |
|
58 | + $dependency, is_object($object) ? get_class($object) : $object); |
|
59 | 59 | |
60 | 60 | $this->assertEquals($expectedMessage, $target->getMessage()); |
61 | 61 | } |
@@ -43,17 +43,17 @@ |
||
43 | 43 | |
44 | 44 | public function testCreatesPluginAndInjectsFormElementManager() |
45 | 45 | { |
46 | - $forms = $this->getMockBuilder(FormElementManager::class) |
|
47 | - ->disableOriginalConstructor() |
|
48 | - ->getMock() |
|
49 | - ; |
|
50 | - /*$services = $this->getServiceManagerMock([ |
|
46 | + $forms = $this->getMockBuilder(FormElementManager::class) |
|
47 | + ->disableOriginalConstructor() |
|
48 | + ->getMock() |
|
49 | + ; |
|
50 | + /*$services = $this->getServiceManagerMock([ |
|
51 | 51 | 'forms' => [ |
52 | 52 | 'service' => $forms, |
53 | 53 | 'count_get' => 1, |
54 | 54 | ]]);*/ |
55 | - $services = $this->getServiceManagerMock(); |
|
56 | - $services->setService('forms',$forms); |
|
55 | + $services = $this->getServiceManagerMock(); |
|
56 | + $services->setService('forms',$forms); |
|
57 | 57 | |
58 | 58 | $plugin = $this->target->__invoke($services,'irrelevant'); |
59 | 59 |
@@ -71,8 +71,8 @@ |
||
71 | 71 | $this->target->setCreationOptions($options); |
72 | 72 | |
73 | 73 | $this->target |
74 | - ->expects($this->once()) |
|
75 | - ->method('__invoke') |
|
74 | + ->expects($this->once()) |
|
75 | + ->method('__invoke') |
|
76 | 76 | ->with($services, SelectFactory::class, $options) |
77 | 77 | ->willReturn(true) |
78 | 78 | ; |