Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszUrbanowicz committed Nov 27, 2015
1 parent c3a3665 commit 88f0671
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/ContentCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function canSeeNotPublishedCategoryAsAdmin(FunctionalTester $I)
$I->see('Ipsum');
$I->see('This content is not published.');
}

/*
public function canSeeArticleInNotPublishedCategoryAsAdmin(FunctionalTester $I)
{
$I->wantTo('see article in not published category as admin');
Expand All @@ -144,21 +144,21 @@ public function canSeeArticleInNotPublishedCategoryAsAdmin(FunctionalTester $I)
$I->see('Test');
$I->see('This content is not published.');
}

*/
public function cantSeeNotPublishedCategoryAsUser(FunctionalTester $I)
{
$I->wantTo('cant see unpublished category as user');
$I->amOnPage('/en/news/ipsum');
$I->seeResponseCodeIs(404);
}

/*
public function cantSeeArticleInNotPublishedCategoryAsUser(FunctionalTester $I)
{
$I->wantTo('cant see article in not published category as user');
$I->amOnPage('/en/news/ipsum/test');
$I->seeResponseCodeIs(404);
}

*/
public function canUsePagination(FunctionalTester $I)
{
$I->wantTo('use pagination on category view');
Expand Down

0 comments on commit 88f0671

Please sign in to comment.