@@ -53,7 +53,7 @@ public function testDropAndCreateDatabase()
5353 public function testNotBlankDatabase ()
5454 {
5555 $ sqlFile = __DIR__ .'/fixtures/database.sql ' ;
56- $ message = " [mysql-import] required blank database for import. " ;
56+ $ message = ' [mysql-import] required blank database for import. ' ;
5757
5858 $ app = new MysqlImport (['MYSQL_ROOT_PASSWORD ' => 'secret ' ], [$ sqlFile ]);
5959 $ app ->run ();
@@ -85,9 +85,9 @@ public function testConnectionProblemWrongHost()
8585 $ this ->assertStringStartsWith ($ message , $ app ->run ());
8686
8787 $ app = new MysqlImport ([
88- 'MYSQL_HOST ' => 'wrong ' ,
89- 'MYSQL_USER ' => 'root ' ,
90- 'MYSQL_PASSWORD ' => 'wrong ' ],
88+ 'MYSQL_HOST ' => 'wrong ' ,
89+ 'MYSQL_USER ' => 'root ' ,
90+ 'MYSQL_PASSWORD ' => 'wrong ' , ],
9191 [$ sqlFile ]
9292 );
9393 $ this ->assertStringStartsWith ($ message , $ app ->run ());
@@ -118,10 +118,10 @@ public function testHostPortFix()
118118
119119 $ app = new MysqlImport (['WORDPRESS_DB_HOST ' => 'db:10101 ' ], [$ sqlFile ]);
120120 $ this ->assertEquals ([
121- 'state ' => 'ready ' ,
122- 'host ' => 'db ' ,
123- 'port ' => 10101 ,
124- 'database ' => 'database '
121+ 'state ' => 'ready ' ,
122+ 'host ' => 'db ' ,
123+ 'port ' => 10101 ,
124+ 'database ' => 'database ' ,
125125 ], $ app ->getInfo ());
126126 }
127127
@@ -131,17 +131,17 @@ public function testDefaultDatabaseName()
131131
132132 $ app = new MysqlImport (['WORDPRESS_DB_PASSWORD ' => 'secret ' ], [$ sqlFile ]);
133133 $ this ->assertEquals ([
134- 'state ' => 'ready ' ,
135- 'host ' => 'mysql ' ,
136- 'port ' => 3306 ,
137- 'database ' => 'wordpress '
134+ 'state ' => 'ready ' ,
135+ 'host ' => 'mysql ' ,
136+ 'port ' => 3306 ,
137+ 'database ' => 'wordpress ' ,
138138 ], $ app ->getInfo ());
139139 }
140140
141141 public function testSyntaxError ()
142142 {
143143 $ sqlFile = __DIR__ .'/fixtures/syntax_error.sql ' ;
144- $ message = " [mysql-import] You have an error in your SQL syntax; check the manual that corresponds to " ;
144+ $ message = ' [mysql-import] You have an error in your SQL syntax; check the manual that corresponds to ' ;
145145
146146 $ app = new MysqlImport (['MYSQL_ROOT_PASSWORD ' => 'secret ' ], [$ sqlFile ]);
147147 $ this ->assertStringStartsWith ($ message , $ app ->run ());
0 commit comments