@@ -12,6 +12,8 @@ class NewsFactory extends AbstractFactory implements NewsFactoryInterface | |||
{ | |||
$news = new News(); | |||
$news->setStatus(1); | |||
return $news; | |||
} | |||
@@ -12,6 +12,8 @@ class PageFactory extends AbstractFactory implements PageFactoryInterface | |||
{ | |||
$page = new Page(); | |||
$page->setStatus(1); | |||
return $page; | |||
} | |||
} |
@@ -12,6 +12,8 @@ class GroupUserFactory extends AbstractFactory implements GroupUserFactoryInterf | |||
{ | |||
$groupUser = new GroupUser(); | |||
$groupUser->setStatus(1); | |||
return $groupUser; | |||
} | |||
} |