Skip to content

Commit 6dc02c7

Browse files
committed
Fix tests
1 parent e533b41 commit 6dc02c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/Attachment.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ BOOST_AUTO_TEST_CASE(dropDatabase)
6262
BOOST_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)
7474
BOOST_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();

0 commit comments

Comments
 (0)