Codeception / Codeception/module-db
PostgreSQL driver should not be hard-coded to public schema
- Ngôn ngữ chính
- PHP
- Star
- 23
- Fork
- 31
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
#### What are you trying to achieve?
In src/Codeception/Lib/Driver/PostgreSql.php, the schema is hard-coded to "public" in method cleanup. In my setup, where the schema used for testing is not public, this causes tests to fail with a ModuleException:
` [ModuleException] Db: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: must be owner of schema public`
The schema is taken into account in "load" method, and this should also be brought into cleaning up the test database.
### Details
* Codeception version: 2.3.7
* PHP Version: 7.0.22
* Operating System: Ubuntu
* Installation type: Phar
* List of installed packages (`composer show`)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.