@@ -1409,8 +1409,4 @@ |
||
| 1409 | 1409 | $valid->error("Selecting 'Only these people' from a editors list needs at least one group selected."); |
| 1410 | 1410 | } |
| 1411 | 1411 | |
| 1412 | - return $valid; |
|
| 1413 | - } |
|
| 1414 | - |
|
| 1415 | - |
|
| 1416 | -} |
|
| 1412 | + return $valid |
|
| 1417 | 1413 | \ No newline at end of file |
@@ -48,6 +48,4 @@ |
||
| 48 | 48 | |
| 49 | 49 | $fragments = $this->button->getHTMLFragments($this->gridField); |
| 50 | 50 | $result = array_pop($fragments)->getValue(); |
| 51 | - $this->assertContains('?ID=123', $result); |
|
| 52 | - } |
|
| 53 | -} |
|
| 51 | + $this->assertContains('?ID=123', $result |
|
| 54 | 52 | \ No newline at end of file |