setCreator

git-svn-id: svn://svn.dsv.su.se/scipro/scipro/trunk@337 73ecded7-942e-4092-bab0-0e58ef0ee984
This commit is contained in:
joha-asc 2011-03-14 13:51:24 +00:00
parent 82ec752936
commit 29a5b2ac8e

@ -69,15 +69,15 @@ public class TestCommentThreadDaoJpa {
user.setFirstName("Pelle");
user = userDao.save(user);
comment1 = new Comment();
comment1.setUser(user);
comment1.setCreator(user);
comment1 = commentDao.save(comment1);
comment2 = new Comment();
comment2.setUser(user);
comment2.setCreator(user);
comment2 = commentDao.save(comment2);
comment3 = new Comment();
comment3.setUser(user);
comment3.setCreator(user);
comment3 = commentDao.save(comment3);
commentList.add(comment1);