@@ -81,40 +81,40 @@ |
||
| 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(); |
|
| 89 | + $args = $this->_model->make_args(); |
|
| 90 | 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']); |
|
| 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 | |
| 103 | - /** |
|
| 104 | - * @covers ::height |
|
| 105 | - */ |
|
| 103 | + /** |
|
| 104 | + * @covers ::height |
|
| 105 | + */ |
|
| 106 | 106 | public function testHeight() { |
| 107 | 107 | |
| 108 | - $this->assertEquals('400px', $this->_model->height()); |
|
| 108 | + $this->assertEquals('400px', $this->_model->height()); |
|
| 109 | 109 | |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | - /** |
|
| 113 | - * @covers ::width |
|
| 114 | - */ |
|
| 112 | + /** |
|
| 113 | + * @covers ::width |
|
| 114 | + */ |
|
| 115 | 115 | public function testWidth() { |
| 116 | 116 | |
| 117 | - $this->assertEquals('100%', $this->_model->width()); |
|
| 117 | + $this->assertEquals('100%', $this->_model->width()); |
|
| 118 | 118 | |
| 119 | 119 | } |
| 120 | 120 | } |
@@ -63,12 +63,12 @@ |
||
| 63 | 63 | return $reflection->invoke( $class, $args ); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - /** |
|
| 67 | - * @return string |
|
| 68 | - */ |
|
| 66 | + /** |
|
| 67 | + * @return string |
|
| 68 | + */ |
|
| 69 | 69 | protected function get_sample_response() { |
| 70 | 70 | |
| 71 | - return file_get_contents( __DIR__ . '/geocoder-response.json' ); |
|
| 71 | + return file_get_contents( __DIR__ . '/geocoder-response.json' ); |
|
| 72 | 72 | |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | \ No newline at end of file |