@@ -118,16 +118,16 @@ |
||
118 | 118 | |
119 | 119 | } |
120 | 120 | |
121 | - /** |
|
122 | - * @return array |
|
123 | - */ |
|
124 | - function make_args() { |
|
121 | + /** |
|
122 | + * @return array |
|
123 | + */ |
|
124 | + function make_args() { |
|
125 | 125 | |
126 | - return array( |
|
127 | - 'center' => $this->center(), |
|
128 | - 'zoom' => (int)$this->zoom() |
|
129 | - ); |
|
126 | + return array( |
|
127 | + 'center' => $this->center(), |
|
128 | + 'zoom' => (int)$this->zoom() |
|
129 | + ); |
|
130 | 130 | |
131 | - } |
|
131 | + } |
|
132 | 132 | |
133 | 133 | } |
@@ -81,22 +81,22 @@ |
||
81 | 81 | $this->assertEquals(12, $this->_model->zoom()); |
82 | 82 | } |
83 | 83 | |
84 | - /** |
|
85 | - * @covers ::make_args |
|
86 | - */ |
|
84 | + /** |
|
85 | + * @covers ::make_args |
|
86 | + */ |
|
87 | 87 | public function testMakeArgs() { |
88 | 88 | |
89 | - $args = $this->_model->make_args(); |
|
90 | - |
|
91 | - $this->assertInternalType('array', $args); |
|
92 | - $this->assertArrayHasKey('center', $args); |
|
93 | - $this->assertArrayHasKey('zoom', $args); |
|
94 | - $this->assertInternalType('array', $args['center']); |
|
95 | - $this->assertInternalType('integer', $args['zoom']); |
|
96 | - $this->assertArrayHasKey('lat', $args['center']); |
|
97 | - $this->assertArrayHasKey('lat', $args['center']); |
|
98 | - $this->assertInternalType('float', $args['center']['lat']); |
|
99 | - $this->assertInternalType('float', $args['center']['lng']); |
|
89 | + $args = $this->_model->make_args(); |
|
90 | + |
|
91 | + $this->assertInternalType('array', $args); |
|
92 | + $this->assertArrayHasKey('center', $args); |
|
93 | + $this->assertArrayHasKey('zoom', $args); |
|
94 | + $this->assertInternalType('array', $args['center']); |
|
95 | + $this->assertInternalType('integer', $args['zoom']); |
|
96 | + $this->assertArrayHasKey('lat', $args['center']); |
|
97 | + $this->assertArrayHasKey('lat', $args['center']); |
|
98 | + $this->assertInternalType('float', $args['center']['lat']); |
|
99 | + $this->assertInternalType('float', $args['center']['lng']); |
|
100 | 100 | |
101 | 101 | } |
102 | 102 | } |