Skip to content

Commit

Permalink
feat(tests): update commit message format for clarity
Browse files Browse the repository at this point in the history
refactor the commit messages in `tests/CommitMessageTest.php` to
enhance readability. This change ensures that messages are concise
and consistent, improving the overall quality of test cases.
  • Loading branch information
mydnic committed Sep 1, 2024
1 parent 6836215 commit bcef757
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions tests/CommitMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
'author' => [
'date' => '2021-01-01T00:00:00Z',
],
'message' => 'feat: fix issue with authentication
'message' => <<<EOF
feat: fix issue with authentication
> You can now login without any issue
> Enjoy!',
> Enjoy!
EOF,
],
];

Expand All @@ -28,9 +30,11 @@
'author' => [
'date' => '2021-01-01T00:00:00Z',
],
'message' => 'feat: fix issue with authentication
'message' => <<<EOF
feat: fix issue with authentication
Refactor the code',
Refactor the code
EOF,
],
];

Expand All @@ -46,9 +50,11 @@
'author' => [
'date' => '2021-01-01T00:00:00Z',
],
'message' => 'feat: fix issue with authentication
'message' => <<<EOF
feat: fix issue with authentication
Refactor the code',
Refactor the code
EOF,
],
];

Expand All @@ -58,10 +64,12 @@
'author' => [
'date' => '2021-01-01T00:00:00Z',
],
'message' => 'feat: fix issue with authentication
'message' => <<<EOF
feat: fix issue with authentication
> You can now login without any issue
> Enjoy!',
> Enjoy!
EOF,
],
];

Expand Down

0 comments on commit bcef757

Please sign in to comment.