Permalink
Browse files

Fix for: test weblogs not being created & added correctly.

  • Loading branch information...
snoopdave committed Sep 30, 2017
1 parent b7b2d83 commit f57be53dc3359c5e311e6dbe736f0203d468159d
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/examples/scripting/groovy/examples/rollerapi/createtestdata.gy
@@ -140,6 +140,9 @@ nisi. Duis lacinia enim id dui. Maecenas a leo. Duis lacus.""" ]
theme,
user.getLocale(),
user.getTimeZone());
roller.getWeblogManager().addWeblog(website)
roller.flush()
def cat = new org.apache.roller.weblogger.pojos.WeblogCategory(
website, "cat1", "cat1", null);
roller.getWeblogEntryManager().saveWeblogCategory(cat);

0 comments on commit f57be53

Please sign in to comment.