Skip to content

Commit 17841ca

Browse files
committed
fix: Update the environment variables in the unit test
1 parent 9fb40f6 commit 17841ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/AdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function initConfig()
1717
{
1818
$this->config = [
1919
'driver' => 'pdo_mysql', // ibm_db2, pdo_sqlsrv, pdo_mysql, pdo_pgsql, pdo_sqlite
20-
'host' => $this->env('DB_PORT', '127.0.0.1'),
20+
'host' => $this->env('DB_HOST', '127.0.0.1'),
2121
'dbname' => $this->env('DB_DATABASE', 'casbin'),
2222
'user' => $this->env('DB_USERNAME', 'root'),
2323
'password' => $this->env('DB_PASSWORD', ''),

0 commit comments

Comments
 (0)