/** * @test */ public function createAndLogInFrontEndUserWithFrontEndUserGroupDoesNotCreateFrontEndUserGroup() { $this->fixture->createFakeFrontEnd(); $frontEndUserGroupUid = $this->fixture->createFrontEndUserGroup(); $this->fixture->createAndLogInFrontEndUser($frontEndUserGroupUid); $this->assertSame(1, $this->fixture->countRecords('fe_groups')); }
/** * @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')); }