diff --git a/YACOSTest/src/org/yacos/tests/core/ArticleManagerTest.java b/YACOSTest/src/org/yacos/tests/core/ArticleManagerTest.java index 72873f3..c2dfce9 100644 --- a/YACOSTest/src/org/yacos/tests/core/ArticleManagerTest.java +++ b/YACOSTest/src/org/yacos/tests/core/ArticleManagerTest.java @@ -65,13 +65,18 @@ public class ArticleManagerTest { assertEquals("titi", cm.getConference(conf.getId()).getTitle());; //ajout d'un article + ArrayList secondaryAuhthors = new ArrayList(); + secondaryAuhthors.add("marcel"); + secondaryAuhthors.add("joselito"); + secondaryAuhthors.add("roberto"); + Article article = am.addArticle( "title", "topic", "Abstract", "url_article", author.getLogin(), - new ArrayList(), + secondaryAuhthors, Article.State.SUBMITED, conf.getId()); articleId = article.getId(); @@ -204,5 +209,7 @@ public class ArticleManagerTest { am.addPreference(articleId, "max", Preference.PreferenceType.LIKE); List list = am.getPreferencesForArticle(articleId); assertFalse("list vide", list.isEmpty()); + + } }