| 1 | <?php |
||
| 3 | class CommentTestHelper |
||
|
|
|||
| 4 | { |
||
| 5 | /* |
||
| 6 | This only works if the last section is not a field group, e.g. a Comments |
||
| 7 | field group inside of a Root.Settings tab will not work |
||
| 8 | */ |
||
| 9 | public static function assertFieldsForTab($context, $tabName, $expected, $fields) |
||
| 15 | |||
| 16 | public static function assertFieldNames($context, $expected, $fields) |
||
| 28 | } |
||
| 29 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.