public function testRevokeAccess() { $manipulator = new ApiAccountManipulator(self::$DI['app']['EM'], self::$DI['app']['repo.api-accounts']); $account = $manipulator->create(self::$DI['oauth2-app-user'], self::$DI['user']); $manipulator->revokeAccess($account); $this->assertTrue($account->isRevoked()); }
public function testRevokeAccess() { $account = $this->sut->create(self::$DI['oauth2-app-user'], self::$DI['user']); $this->sut->revokeAccess($account); $this->assertTrue($account->isRevoked()); }