You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/webfiori/framework/test/cli/RunMigrationsCommantTest.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ public function testRunMigrations03() {
107
107
"Error: Invalid answer.\n",
108
108
"Select database connection:\n",
109
109
"0: default-conn <--\n",
110
-
"Error: Unable to connect to database: 18456 - [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'sa'.\n",
110
+
"Error: Unable to connect to database: 18456 - [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'sa'.\n",
111
111
], $output);
112
112
$this->assertEquals(-1, $this->getExitCode());
113
113
@@ -169,7 +169,7 @@ public function testRunMigrations07() {
169
169
"Error: Invalid answer.\n",
170
170
"Select database connection:\n",
171
171
"0: default-conn <--\n",
172
-
"Error: Unable to connect to database: 4060 - [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot open database \"testing_dbx\" requested by the login. The login failed.\n",
172
+
"Error: Unable to connect to database: 4060 - [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Cannot open database \"testing_dbx\" requested by the login. The login failed.\n",
173
173
], $this->executeMultiCommand([
174
174
RunMigrationsCommand::class,
175
175
'--ns' => '\\app\\database\\migrations',
@@ -212,7 +212,7 @@ public function testRunMigrations08() {
212
212
"0: default-conn <--\n",
213
213
"Starting to execute migrations...\n",
214
214
"Error: Failed to execute migration due to following:\n",
215
-
"208 - [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid object name 'migrations'. (Line 361)\n",
215
+
"208 - [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'migrations'. (Line 361)\n",
216
216
"Warning: Execution stopped.\n",
217
217
"Info: No migrations were executed.\n"
218
218
], $output);
@@ -359,7 +359,7 @@ public function testRunMigrations12() {
359
359
"0: default-conn <--\n",
360
360
"Initializing migrations table...\n",
361
361
"Error: Unable to create migrations table due to following:\n",
362
-
"Unable to connect to database: 18456 - [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'sa'.\n",
362
+
"Unable to connect to database: 18456 - [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'sa'.\n",
0 commit comments