1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-02 08:59:22 +03:00
ifhub.club/tests/fixtures/CategoryFixtures.php

24 lines
472 B
PHP
Raw Normal View History

2013-07-24 18:17:30 +03:00
<?php
require_once(realpath((dirname(__FILE__)) . "/../AbstractFixtures.php"));
class CategoryFixtures extends AbstractFixtures
{
/**
* @return int
*/
public static function getOrder()
{
return 1;
}
/**
* Create Category
*/
public function load()
{
$oBlogCategory = $this->_createCategory('First category name', 'first_category_url');
$this->addReference('blog-category', $oBlogCategory);
}
}