Skip to content

Commit 3bcc652

Browse files
authored
Merge pull request #6417 from kenjis/fix-docs-test-database
docs: small fix for test database
2 parents 9546098 + fa474ad commit 3bcc652

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# database.default.port = 3306
4949

5050
# database.tests.hostname = localhost
51-
# database.tests.database = ci4
51+
# database.tests.database = ci4_test
5252
# database.tests.username = root
5353
# database.tests.password = root
5454
# database.tests.DBDriver = MySQLi

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)