summaryrefslogtreecommitdiff
path: root/tests/oauth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oauth')
-rw-r--r--tests/oauth/oauth_post_notice.php2
-rwxr-xr-xtests/oauth/oauth_verify_creds.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/oauth/oauth_post_notice.php b/tests/oauth/oauth_post_notice.php
index 5e9d2a7ab..23fc04b53 100644
--- a/tests/oauth/oauth_post_notice.php
+++ b/tests/oauth/oauth_post_notice.php
@@ -23,7 +23,7 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
require_once INSTALLDIR . '/extlib/OAuth.php';
$shortoptions = 't:s:u:';
-$longoptions = array('oauth_token=', 'token_secret=', 'update=');
+$longoptions = array('oauth_token=', 'oauth_token_secret=', 'update=');
$helptext = <<<END_OF_VERIFY_HELP
oauth_post_notice.php [options]
diff --git a/tests/oauth/oauth_verify_creds.php b/tests/oauth/oauth_verify_creds.php
index 7eea6e7e7..a37538d87 100755
--- a/tests/oauth/oauth_verify_creds.php
+++ b/tests/oauth/oauth_verify_creds.php
@@ -43,7 +43,7 @@ if (have_option('t', 'oauth_token')) {
$token = get_option_value('t', 'oauth_token');
}
-if (have_option('s', 'token_secret')) {
+if (have_option('s', 'oauth_token_secret')) {
$token_secret = get_option_value('s', 'oauth_token_secret');
}