Browse files

Several minor bugfixes for OAuth

  • Loading branch information...
1 parent 00e562d commit 43da35dc2bd3d09c6cf463b214022d8966618db0 @aaronschmitz aaronschmitz committed with LouisLandry Oct 10, 2012
View
4 libraries/joomla/oauth/v2client.php
@@ -40,9 +40,9 @@ class JOauthV2client
/**
* Constructor.
*
- * @param JRegistry $options JOauthV2client options object
+ * @param JRegistry $options JOauthV2client options object
* @param JHttp $http The HTTP client object
- * @param JInput $input The input object
+ * @param JInput $input The input object
*
* @since 12.2
*/
View
2 tests/suites/unit/joomla/google/JGoogleAuthOauth2Test.php
@@ -102,7 +102,7 @@ public function testAuth()
$this->assertEquals('accessvalue', $result['access_token']);
$this->assertEquals('refreshvalue', $result['refresh_token']);
$this->assertEquals(3600, $result['expires_in']);
- $this->assertEquals(time(), $result['created'], 10);
+ $this->assertEquals(time(), $result['created'], null, 10);
}
/**

0 comments on commit 43da35d

Please sign in to comment.