Skip to content

Commit

Permalink
fix: Rename the environment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
leeqvip committed Mar 8, 2021
1 parent 2242090 commit 39066a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function initConfig()
{
$this->config = [
'type' => 'mysql', // mysql,pgsql,sqlite,sqlsrv
'hostname' => $this->env('DB_PORT', '127.0.0.1'),
'hostname' => $this->env('DB_HOST', '127.0.0.1'),
'database' => $this->env('DB_DATABASE', 'casbin'),
'username' => $this->env('DB_USERNAME', 'root'),
'password' => $this->env('DB_PASSWORD', ''),
Expand Down

0 comments on commit 39066a9

Please sign in to comment.