Skip to content

Commit

Permalink
Updating unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Jan 3, 2015
1 parent 4932ee6 commit 4621c8f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -297,10 +297,10 @@ public function testGetNameException()
*
* @since 3.4
*/
public function testGetCategory()
public function testGetCategorySlug()
{
$this->object->set('name', 'unittest');
$result = $this->object->getCategory(9);
$result = $this->object->getCategorySlug(9);
$this->assertInstanceOf('JCategoryNode', $result);
$this->assertEquals('com_content', $result->extension);
}
Expand Down

0 comments on commit 4621c8f

Please sign in to comment.