code cleanup (fixing tests but not sure why)

This commit is contained in:
Martin Brodbeck 2018-07-20 13:07:48 +02:00
parent 6000bb3ef2
commit 31a037460a
6 changed files with 8 additions and 5 deletions

View file

@ -30,7 +30,7 @@ BOOST_AUTO_TEST_CASE(create_many)
}
BOOST_AUTO_TEST_CASE(with_article) {
Seller seller{};
Seller seller{"Max", "Mustermann"};
auto article = std::make_unique<Article>();
article->setDescription("Test article");
seller.addArticle(std::move(article));