| 1 | <?php |
||
| 3 | class CommentTestHelper { |
||
|
|
|||
| 4 | /* |
||
| 5 | This only works if the last section is not a field group, e.g. a Comments |
||
| 6 | field group inside of a Root.Settings tab will not work |
||
| 7 | */ |
||
| 8 | public static function assertFieldsForTab($context, $tabName, $expected, $fields) { |
||
| 13 | |||
| 14 | public static function assertFieldNames($context, $expected, $fields) { |
||
| 25 | } |
||
| 26 |
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.