Codeception / Codeception/module-db

PostgreSQL driver should not be hard-coded to public schema

未关闭
#15 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
23
派生
31
PR 合并指标
30 天内没有已合并 PR

描述

#### 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`)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。