Commit 4b0318e3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Do not use an entity with invalid DB connection to fetch resources

parent 03dc124a
......@@ -114,6 +114,7 @@ TEST_F( Albums, SetGenre )
SetUp();
std::vector<AlbumTrackPtr> tracks;
a = ml->album( "album" );
a->tracks( tracks );
auto t2 = tracks[0];
ASSERT_EQ( t->genre(), t2->genre() );
......
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