Beispiel #1
0
 public function testGetUrlWithQuery()
 {
     $request = new Gajus\Fuss\Request($this->app, 'GET', 'me', ['a' => 'b']);
     $access_token = $this->app->getAccessToken()->getPlain();
     $this->assertSame('https://graph.facebook.com/me?a=b&access_token=' . urlencode($access_token) . '&appsecret_proof=' . self::getAppSecretProof($access_token), $request->getUrl());
 }