/** * @test */ public function createAndLoginFrontEndUserWithFrontEndUserGroupDoesNotCreateFrontEndUserGroup() { $this->subject->createFrontEndPage(); $this->subject->createFakeFrontEnd(); $frontEndUserGroupUid = $this->subject->createFrontEndUserGroup(); $this->subject->createAndLoginFrontEndUser($frontEndUserGroupUid); self::assertSame(1, $this->subject->countRecords('fe_groups')); }
/** * @test */ public function createLogInAndAddFrontEndUserToEventEditorFrontEndGroupAddsFrontEndUserToEventEditorFrontEndGroup() { $this->createLoginAndAddFrontEndUserToEventEditorFrontEndGroup(); self::assertEquals(1, $this->testingFramework->countRecords('fe_users', 'uid=' . $this->fixture->getFeUserUid() . ' AND usergroup=' . $this->fixture->getConfValueInteger('eventEditorFeGroupID'))); }