| 1 | <?php |
||
| 3 | class ChecIOExtensionTest extends SapphireTest |
||
|
|
|||
| 4 | { |
||
| 5 | protected static $fixture_file = 'ChecIOShortcodeTest.yml'; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @var Page |
||
| 9 | */ |
||
| 10 | private $page; |
||
| 11 | |||
| 12 | public function setUp() |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Tests that a non-empty result is returned. |
||
| 20 | */ |
||
| 21 | public function testGetChecIOJs() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Allow the JS to be disabled if desired |
||
| 30 | */ |
||
| 31 | public function testGetChecIOJsIgnoresIfFalsy() |
||
| 37 | } |
||
| 38 |
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.