@@ -18,16 +18,16 @@ |
||
18 | 18 | $model = Mockery::mock(MockedModel::class); |
19 | 19 | |
20 | 20 | $model->shouldReceive('doSomething') |
21 | - ->once() |
|
22 | - ->withNoArgs() |
|
23 | - ->andReturn('Ran'); |
|
21 | + ->once() |
|
22 | + ->withNoArgs() |
|
23 | + ->andReturn('Ran'); |
|
24 | 24 | |
25 | 25 | $collection = new TransformableCollection([$model]); |
26 | 26 | |
27 | 27 | $transformer = new TransformerStub(); |
28 | 28 | |
29 | 29 | $this->assertEquals(['Ran'], $transformer->transformCollection($collection) |
30 | - ->toArray()); |
|
30 | + ->toArray()); |
|
31 | 31 | } |
32 | 32 | } |
33 | 33 |
@@ -56,7 +56,7 @@ |
||
56 | 56 | public function it_allows_transformation_with_pagination() |
57 | 57 | { |
58 | 58 | $this->collection = $this->collection->transformToWithPagination('TestUser') |
59 | - ->toArray(); |
|
59 | + ->toArray(); |
|
60 | 60 | $this->assertArrayHasKey('data', $this->collection); |
61 | 61 | $this->assertArrayHasKey('total', $this->collection); |
62 | 62 | } |