Skip to content

Commit

Permalink
add teardown to test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
notspiff committed Dec 12, 2017
1 parent 277f47a commit d6484db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/addons/test/TestAddonDatabase.cpp
Expand Up @@ -61,6 +61,11 @@ class AddonDatabaseTest : public ::testing::Test
builder.SetVersion(AddonVersion(version));
addons.push_back(builder.Build());
}

void TearDown() override
{
database.Close();
}
};


Expand Down

0 comments on commit d6484db

Please sign in to comment.