File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ BOOST_AUTO_TEST_CASE(dropDatabase)
6262BOOST_AUTO_TEST_CASE (isNotValidAfterMove)
6363{
6464 const auto database = getTempFile (" Attachment-isNotValidAfterMove.fdb" );
65- Attachment attachment1{CLIENT , getTempFile ( database) , AttachmentOptions ().setCreateDatabase (true )};
65+ Attachment attachment1{CLIENT , database, AttachmentOptions ().setCreateDatabase (true )};
6666 BOOST_CHECK_EQUAL (attachment1.isValid (), true );
6767
6868 auto attachment2 = std::move (attachment1);
@@ -74,7 +74,7 @@ BOOST_AUTO_TEST_CASE(isNotValidAfterMove)
7474BOOST_AUTO_TEST_CASE (isNotValidAfterDisconnect)
7575{
7676 const auto database = getTempFile (" Attachment-isNotValidAfterDisconnect.fdb" );
77- Attachment attachment1{CLIENT , getTempFile ( database) , AttachmentOptions ().setCreateDatabase (true )};
77+ Attachment attachment1{CLIENT , database, AttachmentOptions ().setCreateDatabase (true )};
7878 BOOST_CHECK_EQUAL (attachment1.isValid (), true );
7979
8080 attachment1.disconnect ();
You can’t perform that action at this time.
0 commit comments