30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00

Adding Delete Category in Test

This commit is contained in:
puneet0191 2015-10-30 17:36:28 +05:30
parent 15887b9bf0
commit 7acb192136

View File

@ -21,6 +21,7 @@ class AdministratorCategoriesCest
$I->createCategory($categoryName);
$I->amGoingTo('Delete the Category which was created');
$I->trashCategory($categoryName);
$I->deleteCategory($categoryName);
}
public function administratorCreateCategoryWithoutTitleFails(AcceptanceTester $I)
@ -68,6 +69,7 @@ class AdministratorCategoriesCest
$I->amGoingTo('Delete the Category which was created');
$I->trashCategory($categoryName);
$I->deleteCategory($categoryName);
}
public function administratorUnpublishCategory(\Step\Acceptance\category $I)
@ -107,5 +109,6 @@ class AdministratorCategoriesCest
//delete the category
$I->amGoingTo('Delete the Category which was created');
$I->trashCategory($categoryName);
$I->deleteCategory($categoryName);
}
}