Ejemplo n.º 1
0
 public function testUserStatusActive()
 {
     $provider = new AuthProvider('Facebook');
     $provider->setResponse($this->getApp());
     $authRow = new Row();
     $authRow->userId = 2;
     try {
         $provider->alreadyRegisteredLogic($authRow);
     } catch (RedirectException $e) {
     }
     $this->assertNotNull(Auth::getIdentity());
 }