Add tests for loading the catalog
This commit is contained in:
parent
591573b6b8
commit
a1ac545086
13 changed files with 203 additions and 32 deletions
|
|
@ -15,6 +15,13 @@ QString DbTest::dbUrl() const
|
|||
return urlForDb(dbName_);
|
||||
}
|
||||
|
||||
std::unique_ptr<Pgsql::Connection> DbTest::plainConn() const
|
||||
{
|
||||
auto c = std::make_unique<Pgsql::Connection>();
|
||||
c->connect(urlForDbAsPlainRole(dbName_));
|
||||
return c;
|
||||
}
|
||||
|
||||
void DbTest::SetUp()
|
||||
{
|
||||
if (!available())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue