1 | <?php |
||
16 | final class ConsoleRunnerTest extends DoctrineTestCase |
||
17 | { |
||
18 | private const EXPECTED_COMMANDS = [ |
||
19 | 'dbal:import', |
||
20 | 'dbal:reserved-words', |
||
21 | 'dbal:run-sql', |
||
22 | 'orm:clear-cache:region:collection', |
||
23 | 'orm:clear-cache:region:entity', |
||
24 | 'orm:clear-cache:region:query', |
||
25 | 'orm:clear-cache:metadata', |
||
26 | 'orm:clear-cache:query', |
||
27 | 'orm:clear-cache:result', |
||
28 | 'orm:convert-d1-schema', |
||
29 | 'orm:convert-mapping', |
||
30 | 'orm:convert:d1-schema', |
||
31 | 'orm:convert:mapping', |
||
32 | 'orm:ensure-production-settings', |
||
33 | 'orm:generate-entities', |
||
34 | 'orm:generate-proxies', |
||
35 | 'orm:generate-repositories', |
||
36 | 'orm:generate:entities', |
||
37 | 'orm:generate:proxies', |
||
38 | 'orm:generate:repositories', |
||
39 | 'orm:info', |
||
40 | 'orm:mapping:describe', |
||
41 | 'orm:run-dql', |
||
42 | 'orm:schema-tool:create', |
||
43 | 'orm:schema-tool:drop', |
||
44 | 'orm:schema-tool:update', |
||
45 | 'orm:validate-schema', |
||
46 | ]; |
||
47 | |||
48 | public function testCreateApplicationShouldReturnAnApplicationWithTheCorrectCommands() : void |
||
60 | |||
61 | public function testCreateApplicationShouldAppendGivenCommands() : void |
||
68 | } |
||
69 |