BackendEditorCest::deniedEditEntriesTest PHP Method

deniedEditEntriesTest() public method

Check that the editor can't create Entries
public deniedEditEntriesTest ( AcceptanceTester $I )
$I AcceptanceTester
    public function deniedEditEntriesTest(\AcceptanceTester $I)
    {
        $I->wantTo("be denied permission to edit Entries as the 'editor' user");
        // Set up the browser
        $this->setLoginCookies($I);
        $I->amOnPage('/bolt/editcontent/entries/');
        $I->see('You do not have the right privileges');
    }