Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Several minor bugfixes for OAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronschmitz authored and LouisLandry committed Oct 12, 2012
1 parent 00e562d commit 43da35d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/oauth/v2client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/suites/unit/joomla/google/JGoogleAuthOauth2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 43da35d

Please sign in to comment.