1 | <?php |
||
3 | class DMSDocumentCartSubmissionTest extends SapphireTest |
||
|
|||
4 | { |
||
5 | protected $usesDatabase = true; |
||
6 | |||
7 | /** |
||
8 | * Test that the add new and existing GridField components have been removed |
||
9 | */ |
||
10 | public function testNoAddNewOrExistingButtons() |
||
20 | |||
21 | /** |
||
22 | * Ensure that the "created" field is readonly in the CMS |
||
23 | */ |
||
24 | public function testCreatedFieldIsReadonly() |
||
31 | } |
||
32 |
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.