protected void addBlogsEntry(long groupId, String assetTagName) throws Exception { ServiceContext serviceContext = ServiceTestUtil.getServiceContext(groupId); serviceContext.setAssetTagNames(new String[] {assetTagName}); BlogsTestUtil.addEntry( TestPropsValues.getUserId(), ServiceTestUtil.randomString(), true, serviceContext); }
@Override protected BaseModel<?> addBaseModelWithWorkflow( BaseModel<?> parentBaseModel, boolean approved, String keywords, ServiceContext serviceContext) throws Exception { return BlogsTestUtil.addEntry( TestPropsValues.getUserId(), serviceContext.getScopeGroupId(), keywords, approved); }