Skip to content

Commit 7100bc6

Browse files
committed
docs: update test database config sample in .env
1 parent 9546098 commit 7100bc6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

user_guide_src/source/testing/database.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ If you have multiple developers on your team, you will likely want to keep your
3232
the **.env** file. To do so, edit the file to ensure the following lines are present and have the
3333
correct information::
3434

35-
database.tests.dbdriver = 'MySQLi';
36-
database.tests.username = 'root';
37-
database.tests.password = '';
38-
database.tests.database = '';
35+
database.tests.hostname = localhost
36+
database.tests.database = ci4_test
37+
database.tests.username = root
38+
database.tests.password = root
39+
database.tests.DBDriver = MySQLi
40+
database.tests.DBPrefix =
41+
database.tests.port = 3306
3942

4043
Migrations and Seeds
4144
====================

0 commit comments

Comments
 (0)