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