Fixed a load of test failures I'd somehow missed ?!?!! (Thanks go to @dshaw for noticing)

This commit is contained in:
ciaranj
2010-05-18 13:57:01 +01:00
parent 24bcc8c712
commit 341136d554
4 changed files with 17 additions and 13 deletions

View File

@ -2,11 +2,12 @@ var sys= require('sys')
var OAuth= require('../lib/oauth').OAuth;
var oa= new OAuth("http://term.ie/oauth/example/request_token.php?foo=bar",
var oa= new OAuth("http://term.ie/oauth/example/request_token.php",
"http://term.ie/oauth/example/access_token.php",
"key",
"secret",
"1.0",
null,
"HMAC-SHA1")
oa.getOAuthRequestToken(function(error, oauth_token, oauth_token_secret, results){

View File

@ -7,6 +7,7 @@ var oa= new OAuth("http://term.ie/oauth/example/request_token.php?foo=bar",
"key",
"secret",
"1.0",
null,
"PLAINTEXT")
oa.getOAuthRequestToken(function(error, oauth_token, oauth_token_secret, results){