Skip to content
Snippets Groups Projects
Commit d9a86776 authored by Julien Leduc's avatar Julien Leduc
Browse files

there was one missing parameter for WriteSession call

parent c4ae10f0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment