Fix Blog Sharing Backend and Add Blog Sharing Integration Tests

This commit is contained in:
Torsten Grote
2016-08-02 15:16:03 -03:00
parent a552d1b6a6
commit a69a4028b0
12 changed files with 808 additions and 13 deletions

View File

@@ -69,7 +69,7 @@ class BlogFactoryImpl implements BlogFactory {
Author a =
authorFactory.createAuthor(blog.getString(1), blog.getRaw(2));
// TODO change permanent depending on how this will be used
boolean permanent = false;
boolean permanent = true;
return new Blog(g, blog.getString(0), description, a, permanent);
}

View File

@@ -282,7 +282,7 @@ class BlogManagerImpl extends BdfIncomingMessageHook implements BlogManager,
}
@Override
public Blog getPersonalBlog(Author author) throws DbException {
public Blog getPersonalBlog(Author author) {
return blogFactory.createPersonalBlog(author);
}