diff --git a/tapeserver/castor/tape/tapeserver/file/FileTest.cpp b/tapeserver/castor/tape/tapeserver/file/FileTest.cpp index 446b915efc93360023b95fafc16a89298e6a33eb..83928f39b9313055ed1551f3b6babc29a5d8ad29 100644 --- a/tapeserver/castor/tape/tapeserver/file/FileTest.cpp +++ b/tapeserver/castor/tape/tapeserver/file/FileTest.cpp @@ -97,7 +97,7 @@ namespace unitTests { TEST_F(castorTapeFileTest, throwsWhenUsingSessionTwice) { const std::string testString("Hello World!"); castor::tape::tapeFile::WriteSession *ws; - ASSERT_NO_THROW(ws = new castor::tape::tapeFile::WriteSession(d, volInfo, 0, true)); + ASSERT_NO_THROW(ws = new castor::tape::tapeFile::WriteSession(d, volInfo, 0, true, false)); ASSERT_EQ(ws->m_compressionEnabled, true); ASSERT_EQ(ws->m_vid.compare(label), 0); ASSERT_EQ(ws->isCorrupted(), false);