Skip to content

Commit

Permalink
fix: Update the environment variables in the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
leeqvip committed Dec 16, 2020
1 parent 9fb40f6 commit 17841ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AdapterTest.php
Expand Up @@ -17,7 +17,7 @@ protected function initConfig()
{
$this->config = [
'driver' => 'pdo_mysql', // ibm_db2, pdo_sqlsrv, pdo_mysql, pdo_pgsql, pdo_sqlite
'host' => $this->env('DB_PORT', '127.0.0.1'),
'host' => $this->env('DB_HOST', '127.0.0.1'),
'dbname' => $this->env('DB_DATABASE', 'casbin'),
'user' => $this->env('DB_USERNAME', 'root'),
'password' => $this->env('DB_PASSWORD', ''),
Expand Down

0 comments on commit 17841ca

Please sign in to comment.