Skip to content

Commit cc2773e

Browse files
committed
fix: rename 'user' to 'username' in database connection configuration for clarity.
1 parent f66dfa2 commit cc2773e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci-mysql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ on:
22
- pull_request
33
- push
44

5-
name: ci-mysql
5+
name: build
66

77
jobs:
88
mysql:
9-
name: MySQL database tests.
9+
name: MySQL tests.
1010
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
1111
secrets:
1212
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ protected function mockConsoleApplication(): void
354354
'db' => [
355355
'class' => Connection::class,
356356
'dsn' => $this->dsn !== null ? $this->dsn : 'sqlite::memory:',
357-
'user' => $this->user,
357+
'username' => $this->user,
358358
'password' => $this->password,
359359
],
360360
],

0 commit comments

Comments
 (0)