fkooman\OAuth\Client\CallbackTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->clientConfig = array();
        $this->clientConfig[] = new ClientConfig(array('client_id' => 'foo', 'client_secret' => 'bar', 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token'));
        $this->storage = new PdoStorage(new PDO($GLOBALS['DB_DSN'], $GLOBALS['DB_USER'], $GLOBALS['DB_PASSWD']));
        $this->storage->initDatabase();
    }
CallbackTest