author | Michael Krelin <hacker@klever.net> | 2008-03-08 22:31:50 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-03-08 22:31:50 (UTC) |
commit | e6928c1d6c368e999ec8d1b05fccec44c2bebdbc (patch) (unidiff) | |
tree | e321a949b69e770fe7d6ea00056ed55e4407def3 | |
parent | 1d108d28c5c2bd55827021aef944a48421bfb3ef (diff) | |
download | libopkele-e6928c1d6c368e999ec8d1b05fccec44c2bebdbc.zip libopkele-e6928c1d6c368e999ec8d1b05fccec44c2bebdbc.tar.gz libopkele-e6928c1d6c368e999ec8d1b05fccec44c2bebdbc.tar.bz2 |
updated test oauth consumer
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | test/test-oauth-consumer.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test-oauth-consumer.cc b/test/test-oauth-consumer.cc index c5a0fc0..b3ddef5 100644 --- a/test/test-oauth-consumer.cc +++ b/test/test-oauth-consumer.cc | |||
@@ -40,6 +40,2 @@ int main(int,char**) { | |||
40 | "http://term.ie/oauth/example/echo_api.php"); | 40 | "http://term.ie/oauth/example/echo_api.php"); |
41 | sc.prepare_request(hr, | ||
42 | opkele::fields_t(),test, | ||
43 | opkele::oauth::oauth_auth_header,"HMAC-SHA1", | ||
44 | &at,"realm"); | ||
45 | CURLcode r = curl.misc_sets(); | 41 | CURLcode r = curl.misc_sets(); |
@@ -48,3 +44,3 @@ int main(int,char**) { | |||
48 | throw opkele::exception_curl(OPKELE_CP_ "failed to set curly options",r); | 44 | throw opkele::exception_curl(OPKELE_CP_ "failed to set curly options",r); |
49 | hr.setup_curl(curl); | 45 | sc.prepare_request(hr,opkele::fields_t(),test,&at).setup_curl(curl); |
50 | if( (r=curl.easy_perform()) ) | 46 | if( (r=curl.easy_perform()) ) |