| @@ 37-50 (lines=14) @@ | ||
| 34 | /** |
|
| 35 | * Test multiple value with summary and main text. |
|
| 36 | */ |
|
| 37 | public function testSummaryMultiple() |
|
| 38 | { |
|
| 39 | $field = [ |
|
| 40 | [ |
|
| 41 | 'value' => $this->randomString(), |
|
| 42 | 'summary' => $this->randomString(), |
|
| 43 | ], |
|
| 44 | [ |
|
| 45 | 'value' => $this->randomString(), |
|
| 46 | 'summary' => $this->randomString(), |
|
| 47 | ], |
|
| 48 | ]; |
|
| 49 | $this->assertCreatedWithField($field); |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * Test single value with no summary. |
|
| @@ 66-78 (lines=13) @@ | ||
| 63 | /** |
|
| 64 | * Test multiple value with and without summary. |
|
| 65 | */ |
|
| 66 | public function testMixedMultiple() |
|
| 67 | { |
|
| 68 | $field = [ |
|
| 69 | [ |
|
| 70 | 'value' => $this->randomString(), |
|
| 71 | ], |
|
| 72 | [ |
|
| 73 | 'value' => $this->randomString(), |
|
| 74 | 'summary' => $this->randomString(), |
|
| 75 | ], |
|
| 76 | ]; |
|
| 77 | $this->assertCreatedWithField($field); |
|
| 78 | } |
|
| 79 | } |
|
| 80 | ||