Commit 107ec93c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

unittest: Fix ReplugDiskWithExtraFiles test

The file wasn't added to the removable device
parent 58632c23
...@@ -218,7 +218,7 @@ TEST_F( DeviceFs, ReplugDiskWithExtraFiles ) ...@@ -218,7 +218,7 @@ TEST_F( DeviceFs, ReplugDiskWithExtraFiles )
ASSERT_EQ( 3u, files.size() ); ASSERT_EQ( 3u, files.size() );
fsMock->addDevice( device ); fsMock->addDevice( device );
fsMock->addFile( mock::FileSystemFactory::SubFolder + "newfile.mkv" ); fsMock->addFile( RemovableDeviceMountpoint + "newfile.mkv" );
cbMock->prepareForReload(); cbMock->prepareForReload();
Reload(); Reload();
......
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