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
"Checking namespace '\app\database\migrations' for migrations...\n",
82
-
"Found 1 migration(s).\n",
82
+
"Found 1 migration(s) in the namespace '\app\database\migrations'.\n",
83
83
"Select database connection:\n",
84
84
"0: default-conn <--\n",
85
85
"Error: Invalid answer.\n",
86
86
"Select database connection:\n",
87
87
"0: default-conn <--\n",
88
-
"Error: Unable to connect to database: 2002 - No such file or directory\n",
88
+
"Error: Unable to connect to database: 2 - [Microsoft][ODBC Driver 18 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.\n",
89
89
], $this->executeMultiCommand([
90
90
RunMigrationsCommand::class,
91
91
'--ns' => '\\app\\database\\migrations',
92
92
], [
93
93
'7',
94
94
''
95
95
]));
96
-
$this->assertEquals(-1, $this->getExitCode());
96
+
$this->assertEquals(0, $this->getExitCode());
97
+
$this->removeClass($clazz);
97
98
App::getConfig()->removeAllDBConnections();
98
99
}
99
100
/**
@@ -125,7 +126,8 @@ public function testRunMigrations05() {
125
126
*/
126
127
publicfunctiontestRunMigrations06() {
127
128
$this->assertEquals([
128
-
"Info: No migrations where found in the namespace '\app\database\migrations\\emptyRunner'.\n",
129
+
"Checking namespace '\app\database\migrations\\emptyRunner' for migrations...\n",
130
+
"Info: No migrations found in the namespace '\app\database\migrations\\emptyRunner'.\n",
0 commit comments