| 1 | <?php |
||
| 2 | class RegistryPageTest extends SapphireTest { |
||
| 3 | |||
| 4 | static $fixture_file = array( |
||
| 5 | 'fixtures/RegistryPageTestContact.yml', |
||
| 6 | 'fixtures/RegistryPageTest.yml' |
||
| 7 | ); |
||
| 8 | |||
| 9 | protected $extraDataObjects = array( |
||
| 10 | 'RegistryPageTestContact', |
||
| 11 | 'RegistryPageTestSubclass' |
||
| 12 | ); |
||
| 13 | |||
| 14 | public function testPageLengthDefault() { |
||
| 18 | |||
| 19 | public function testPageLengthFieldOverridesDefault() { |
||
| 23 | |||
| 24 | public function testDataClass() { |
||
| 28 | |||
| 29 | public function testDataSingleton() { |
||
| 33 | |||
| 34 | } |
||
| 35 | |||
| 36 |
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.