File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 $ dbHost = getenv ('DB_HOST ' ) ?: (getenv ('GITHUB_ACTIONS ' ) ? '127.0.0.1 ' : 'database-testing ' );
2929 $ dbPort = (int )(getenv ('DB_PORT ' ) ?: 3306 );
3030
31- fwrite (STDOUT , "\n[Setup-Neu] Nutze Umgebung : $ appEnv \n" );
32- fwrite (STDOUT , "[Setup-Neu] Warte auf Datenbank $ dbHost: $ dbPort... \n" );
31+ fwrite (STDOUT , "\n[Setup] Environment : $ appEnv \n" );
32+ fwrite (STDOUT , "[Setup] Waiting for database $ dbHost: $ dbPort... \n" );
3333
3434 $ bin = __DIR__ . '/../bin/migrations.php ' ;
3535 $ maxTries = 20 ; // Mehr Puffer für GHA
4747 }
4848
4949 if (!$ connected ) {
50- fwrite (STDERR , "\n[Error] Datenbank nicht erreichbar ! \n" );
50+ fwrite (STDERR , "\n[Error] Database not accessible ! \n" );
5151 exit (1 );
5252 }
5353
54- fwrite (STDOUT , "\n [Setup-Neu] Migrationen starten ... \n" );
54+ fwrite (STDOUT , "[Setup] Start migrations ... \n" );
5555
5656 $ resultCode = 0 ;
5757 passthru ("php $ bin migrations:migrate --no-interaction --quiet first " , $ resultCode );
6060 if ($ resultCode !== 0 ) {
6161 exit ($ resultCode );
6262 }
63- fwrite (STDOUT , "[Setup-Neu] Datenbank bereit . \n\n" );
63+ fwrite (STDOUT , "[Setup] Database ready . \n\n" );
6464})();
6565
6666uses (TestIntegrationCase::class)->beforeEach (function () {
You can’t perform that action at this time.
0 commit comments