File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88namespace Migrate \Command ;
99
10+ use Symfony \Component \Config \Definition \Exception \Exception ;
1011use Symfony \Component \Console \Input \InputInterface ;
1112use Symfony \Component \Console \Output \OutputInterface ;
1213use Symfony \Component \Console \Question \ChoiceQuestion ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ connection:
55 username: { USERNAME}
66 password: { PASSWORD}
77 database: { DATABASE}
8- charset: { CHARSET}
8+ charset: { CHARSET}
99
1010changelog: { CHANGELOG}
1111default_editor: { EDITOR}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function createEnv()
4747
4848 /* @var $question QuestionHelper */
4949 $ question = $ command ->getHelper ('question ' );
50- $ question ->setInputStream (InputStreamUtil::type ("testing \n$ driverKey \ntest.sqlite \n\n\n\n\nchangelog \nvim \n" ));
50+ $ question ->setInputStream (InputStreamUtil::type ("testing \n$ driverKey \ntest.sqlite \n\n\n\n\n\ nchangelog \nvim \n" ));
5151
5252 $ commandTester ->execute (array ('command ' => $ command ->getName ()));
5353 }
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function testExecute()
4444
4545 /* @var $question QuestionHelper */
4646 $ question = $ command ->getHelper ('question ' );
47- $ question ->setInputStream (InputStreamUtil::type ("testing \n$ driverKey \nmigrate_test \nlocalhost \n5432 \naguidet \naguidet \nchangelog \nvim \n" ));
47+ $ question ->setInputStream (InputStreamUtil::type ("testing \n$ driverKey \nmigrate_test \nlocalhost \n5432 \naguidet \naguidet \n utf8 \ nchangelog \nvim \n" ));
4848
4949 $ commandTester ->execute (array ('command ' => $ command ->getName ()));
5050
@@ -62,6 +62,7 @@ public function testExecute()
6262 username: aguidet
6363 password: aguidet
6464 database: migrate_test
65+ charset: utf8
6566
6667changelog: changelog
6768default_editor: vim
You can’t perform that action at this time.
0 commit comments