Skip to content

Commit 39066a9

Browse files
committed
fix: Rename the environment variable name
1 parent 2242090 commit 39066a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/AdapterTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function initConfig()
1818
{
1919
$this->config = [
2020
'type' => 'mysql', // mysql,pgsql,sqlite,sqlsrv
21-
'hostname' => $this->env('DB_PORT', '127.0.0.1'),
21+
'hostname' => $this->env('DB_HOST', '127.0.0.1'),
2222
'database' => $this->env('DB_DATABASE', 'casbin'),
2323
'username' => $this->env('DB_USERNAME', 'root'),
2424
'password' => $this->env('DB_PASSWORD', ''),

0 commit comments

Comments
 (0)