Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | protected function setUp() |
||
20 | { |
||
21 | parent::setUp(); |
||
22 | |||
23 | $this->field = (new BlockLinkField('Foo')) |
||
24 | ->setValue(json_encode([ |
||
25 | 'PageID' => $this->idFromFixture(SiteTree::class, 'a_page'), |
||
26 | 'Text' => 'Some text here', |
||
27 | 'Description' => 'Do not touch the monkey', |
||
28 | 'TargetBlank' => true, |
||
29 | ])) |
||
30 | ->performReadonlyTransformation(); |
||
31 | } |
||
38 |