public function testSetAuthType() { $req = new HTTP_OAuth_Consumer_Request('http://example.com/'); $req->setAuthType(HTTP_OAuth_Consumer_Request::AUTH_POST); $this->assertEquals(HTTP_OAuth_Consumer_Request::AUTH_POST, $req->getAuthType()); }
public function testSetAuthType() { $req = new HTTP_OAuth_Consumer_Request('http://example.com/'); $req->setAuthType(HTTP_OAuth_Consumer_Request::AUTH_POST); $this->assertEquals(HTTP_OAuth_Consumer_Request::AUTH_POST, $req->getAuthType()); }