1 | <?php |
||
6 | class DMSDocumentControllerTest extends SapphireTest |
||
|
|||
7 | { |
||
8 | protected static $fixture_file = 'dmstest.yml'; |
||
9 | |||
10 | /** |
||
11 | * @var DMSDocument_Controller |
||
12 | */ |
||
13 | protected $controller; |
||
14 | |||
15 | public function setUp() |
||
26 | |||
27 | public function tearDown() |
||
32 | |||
33 | /** |
||
34 | * Test that the download behaviour is either "open" or "download" |
||
35 | * |
||
36 | * @param string $behaviour |
||
37 | * @param string $expectedDisposition |
||
38 | * @dataProvider behaviourProvider |
||
39 | */ |
||
40 | public function testDownloadBehaviourOpen($behaviour, $expectedDisposition) |
||
60 | |||
61 | /** |
||
62 | * @return array[] |
||
63 | */ |
||
64 | public function behaviourProvider() |
||
71 | } |
||
72 |
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.