Adding Delete Category in Test

This commit is contained in:
puneet0191 2015-10-30 17:36:28 +05:30
parent 15887b9bf0
commit 7acb192136
1 changed files with 3 additions and 0 deletions

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);
}
}