1 | <?php |
||
14 | class BuildTest extends AbstractCommandTest |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | */ |
||
19 | public function getTestCommand() |
||
23 | |||
24 | /** |
||
25 | * Test that the name and description were set correctly |
||
26 | * |
||
27 | * @covers ::configure |
||
28 | */ |
||
29 | public function testConfigure() |
||
34 | |||
35 | /** |
||
36 | * Test that the database is built correctly. This test assumes that the "tests/bootstrap.php" database |
||
37 | * configuration can work in a test environment. If this test fails, you may need to tweak this code and/or allow |
||
38 | * it to work in your environment. |
||
39 | * |
||
40 | * We have to buffer the CommandTester output to check its result because the SilverStripe framework uses "echo" |
||
41 | * which we can't capture in an OutputInterface. |
||
42 | * |
||
43 | * @covers ::execute |
||
44 | */ |
||
45 | public function testExecute() |
||
57 | } |
||
58 |