@@ 29-38 (lines=10) @@ | ||
26 | } |
|
27 | ||
28 | ||
29 | public function testStatus() |
|
30 | { |
|
31 | $input = new ArrayInput(['command' => 'migrations:status']); |
|
32 | $output = new BufferedOutput; |
|
33 | ||
34 | $status = $this->consoleApplication->run($input, $output); |
|
35 | ||
36 | $this->assertSame(0, $status); |
|
37 | $this->assertContains('Configuration', $output->fetch()); |
|
38 | } |
|
39 | ||
40 | ||
41 | public function testMigrate() |
|
@@ 41-50 (lines=10) @@ | ||
38 | } |
|
39 | ||
40 | ||
41 | public function testMigrate() |
|
42 | { |
|
43 | $input = new ArrayInput(['command' => 'migrations:migrate']); |
|
44 | $input->setInteractive(FALSE); |
|
45 | ||
46 | $output = new BufferedOutput; |
|
47 | ||
48 | $status = $this->consoleApplication->run($input, $output); |
|
49 | $this->assertSame(0, $status); |
|
50 | } |
|
51 | ||
52 | } |
|
53 |