Add 'timezone' config support for Db model
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by locating the Db model's MySQL connection setup and the tests that currently depend on database timezone configuration. Determine how suite configuration is passed to the model, then define the timezone option and verify that tests can select a specific timezone without relying on the database's global configuration.
Written by the indexing model from the issue text.
Description
What are you trying to achieve?
Specific timezone when use Db Model connect to mysql , then the test logic won't rely on database config.
What do you get instead?
Can't achieve this for now.
Provide console output if related. Use
-vvvmode for more details.
# paste output here
Provide test source code if related
// paste test
Details
- Codeception version:
- PHP Version:
- Operating System:
- Installation type: Phar || Composer
- List of installed packages (
composer show) - Suite configuration:
# paste suite config here
- Dominant language
- PHP
- Stars
- 23
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Codeception/module-db
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Codeception/module-db#87 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Codeception/module-db#85 ·
-
Make optional the auto-erase of the records, added by `haveInDatabase()`Possibly taken @iliayatsenko claimed this 723 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Codeception/module-db#68 · 1 comment ·
-
Fix a confusion between 'cleanup' and 'skip_cleanup_if_failed' configuration paramsPossibly taken @iliayatsenko claimed this 723 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Codeception/module-db#67 ·
-
inserting null on an autoincrement primary key prevents cleanupPossibly taken @jtopenpetition claimed this 1261 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Codeception/module-db#58 ·
All issues in Codeception/module-db
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
taskforcesh/bullmq#5238 ·
Maintainers usually reply within 1 day
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects itPossibly taken @bfs2021 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/jetpack#55517 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day