Exemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->identityProvider = new IdentityProvider();
     $this->useServiceMock('Aeris\\ZfAuth\\IdentityProvider', $this->identityProvider);
     $this->identityProvider->setCanAuthenticate(true);
 }
Exemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->fixtures = $this->loadFixtures(__DIR__ . '/fixtures/oauth.yml');
 }
Exemplo n.º 3
0
 protected function setUp()
 {
     $this->voter = M::mock('\\Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface', ['supportsClass' => true, 'supportsAttribute' => true]);
     parent::setUp();
     $this->authService = $this->useService('Aeris\\ZfAuth\\Service\\AuthService');
 }