schema creation progress
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
namespace matador::test {
|
||||
|
||||
SessionFixture::SessionFixture()
|
||||
: pool(connection::dns, 4), ses({bus, pool}) {}
|
||||
: pool(connection::dns, 4)
|
||||
, ses({bus, pool}) {}
|
||||
|
||||
SessionFixture::~SessionFixture() {
|
||||
while (!tables_to_drop.empty()) {
|
||||
drop_table_if_exists(tables_to_drop.top());
|
||||
tables_to_drop.pop();
|
||||
}
|
||||
const auto result = ses.drop_schema();
|
||||
REQUIRE(result.is_ok());
|
||||
}
|
||||
|
||||
void SessionFixture::drop_table_if_exists(const std::string &table_name) const {
|
||||
|
||||
Reference in New Issue
Block a user