Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Dec 2, 2024
1 parent e8b8a86 commit ab5125f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Support/TestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,26 @@ private function getDriver(): PdoDriverInterface

private static function getDatabaseName(): string
{
return getenv('YII_MSSQL_DATABASE');
return getenv('YII_MSSQL_DATABASE') ?? '';
}

private static function getHost(): string
{
return getenv('YII_MSSQL_HOST');
return getenv('YII_MSSQL_HOST') ?? '';
}

private static function getPort(): string
{
return getenv('YII_MSSQL_PORT');
return getenv('YII_MSSQL_PORT') ?? '';
}

private static function getUsername(): string
{
return getenv('YII_MSSQL_USER');
return getenv('YII_MSSQL_USER') ?? '';
}

private static function getPassword(): string
{
return getenv('YII_MSSQL_PASSWORD');
return getenv('YII_MSSQL_PASSWORD') ?? '';
}
}

0 comments on commit ab5125f

Please sign in to comment.