@@ -14,25 +14,25 @@ |
||
14 | 14 | public function testAddFields() |
15 | 15 | { |
16 | 16 | $fragment1 = Fragment::create('articleFragment', 'article', [ |
17 | - 'id', |
|
18 | - 'title', |
|
19 | - 'image' => Query::create()->fields([ |
|
17 | + 'id', |
|
18 | + 'title', |
|
19 | + 'image' => Query::create()->fields([ |
|
20 | 20 | 'width', |
21 | 21 | 'height', |
22 | 22 | 'filename', |
23 | 23 | 'size', |
24 | - ]), |
|
24 | + ]), |
|
25 | 25 | ]); |
26 | 26 | |
27 | 27 | $fragment2 = Fragment::create('articleFragment', 'article')->fields([ |
28 | - 'id', |
|
29 | - 'title', |
|
30 | - 'image' => Query::create()->fields([ |
|
28 | + 'id', |
|
29 | + 'title', |
|
30 | + 'image' => Query::create()->fields([ |
|
31 | 31 | 'width', |
32 | 32 | 'height', |
33 | 33 | 'filename', |
34 | 34 | 'size', |
35 | - ]), |
|
35 | + ]), |
|
36 | 36 | ]); |
37 | 37 | |
38 | 38 | $expected = |