Codeception / Codeception/module-db
Add 'timezone' config support for Db model
- 主要語言
- PHP
- 星號
- 23
- 分支
- 31
- PR 合併指標
- 30 天內沒有已合併 PR
描述
#### 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 `-vvv` mode for more details.
```bash
# paste output here
```
> Provide test source code if related
```php
// paste test
```
### Details
* Codeception version:
* PHP Version:
* Operating System:
* Installation type: Phar || Composer
* List of installed packages (`composer show`)
* Suite configuration:
```yml
# paste suite config here
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先定位 Db 模型的 MySQL 連線設定,以及目前依賴資料庫時區設定的測試。確定套件設定如何傳遞給模型,然後定義時區選項,並驗證測試可以選擇特定時區,而不必依賴資料庫的全域設定。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- mysql, php
- 領域
- database
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100