Commit 82e153f4 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

tests: Media: Ensure default duration is -1

parent ad17bcb2
......@@ -48,6 +48,7 @@ TEST_F( Files, Create )
ASSERT_EQ( f->showEpisode(), nullptr );
ASSERT_TRUE( f->isStandAlone() );
ASSERT_FALSE( f->isParsed() );
ASSERT_EQ( f->duration(), -1 );
auto files = ml->files();
ASSERT_EQ( files.size(), 1u );
......
Markdown is supported
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