Skip to content

Commit

Permalink
#189 : added test for client's secret expiration time update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Apr 5, 2016
1 parent 9621f37 commit a9405d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public void requestClientUpdate() throws Exception {

assertTrue(responseContacts.contains(contact1NewValue) && responseContacts.contains(contact2NewValue));
assertNotNull(responseLogoUri.equals(logoUriNewValue));
assertEquals(response.getClientSecretExpiresAt().getTime() / 1000, clientSecretExpiresAt.getTime() / 1000); // check after division on 1000 because of internal server conversion
assertEquals(response.getClientSecretExpiresAt().getTime() / 10000, clientSecretExpiresAt.getTime() / 10000); // check after division on 1000 because of internal server conversion
}

@Test(dependsOnMethods = "requestClientAssociate2")
Expand Down

0 comments on commit a9405d3

Please sign in to comment.