mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
set the timestamp in the token name to match the test data
This commit is contained in:
@@ -30,7 +30,7 @@ public class Github2faTest extends AbstractGitHubWireMockTest {
|
||||
String timestamp = dateFormat.format(new Date());
|
||||
List<String> asList = Arrays.asList("repo", "gist", "write:packages", "read:packages", "delete:packages",
|
||||
"user", "delete_repo");
|
||||
String string = "Test2faTokenCreate-"+timestamp;// + timestamp;// use time stamp to ensure the token creations do not collide with older tokens
|
||||
String string = "Test2faTokenCreate-2019-11-12_14-50-03";//+timestamp;// + timestamp;// use time stamp to ensure the token creations do not collide with older tokens
|
||||
|
||||
GHAuthorization token=null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user