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
@@ -170,6 +172,8 @@ public function testRunMigrations07() {
170
172
]);
171
173
$this->removeClass($clazz);
172
174
App::getConfig()->removeAllDBConnections();
175
+
$err = ODBC_VERSION == 17 ? "Error: Unable to connect to database: 4060 - [Microsoft][ODBC Driver ".ODBC_VERSION." for SQL Server][SQL Server]Cannot open database \"testing_dbx\" requested by the login. The login failed.\n"
176
+
: "Error: Unable to connect to database: 18456 - [Microsoft][ODBC Driver ".ODBC_VERSION." for SQL Server][SQL Server]Login failed for user 'sa'.\n";
173
177
$this->assertEquals([
174
178
"Checking namespace '\app\database\migrations' for migrations...\n",
175
179
"Info: Found 1 migration(s) in the namespace '\app\database\migrations'.\n",
@@ -178,7 +182,7 @@ public function testRunMigrations07() {
178
182
"Error: Invalid answer.\n",
179
183
"Select database connection:\n",
180
184
"0: default-conn <--\n",
181
-
"Error: Unable to connect to database: 4060 - [Microsoft][ODBC Driver ".ODBC_VERSION." for SQL Server][SQL Server]Cannot open database \"testing_dbx\" requested by the login. The login failed.\n",
0 commit comments