Commit 57ad1188 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2541] cleanup: removed unnecessary call to copy constructor

parent 3666cb4d
......@@ -4129,7 +4129,7 @@ TYPED_TEST(DatabaseClientTest, createZoneRollbackOnLocked) {
const Name new_name("");
isc::datasrc::ZoneUpdaterPtr updater =
this->client_->getUpdater(isc::dns::Name(this->zname_), true);
this->client_->getUpdater(this->zname_, true);
ASSERT_THROW(this->client_->createZone(new_name), DataSourceError);
// createZone started a transaction as well, but since it failed,
// it should have been rolled back. Roll back the other one as
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment