Improve logging for catching #1174, and fix tests.

This commit is contained in:
Winston Li
2016-04-01 05:23:59 +01:00
parent a4df78c73d
commit ab09d044a8
3 changed files with 79 additions and 14 deletions

View File

@@ -612,7 +612,12 @@ public class WLGitBridgeIntegrationTest {
"\t\"username\": \"\",\n" +
"\t\"password\": \"\",\n" +
"\t\"postbackBaseUrl\": \"http://127.0.0.1:" + port + "\",\n" +
"\t\"serviceName\": \"Overleaf\"\n" +
"\t\"serviceName\": \"Overleaf\"\n," +
" \"oauth2\": {\n" +
" \"oauth2ClientID\": \"clientID\",\n" +
" \"oauth2ClientSecret\": \"oauth2 client secret\",\n" +
" \"oauth2Server\": \"https://www.overleaf.com\"\n" +
" }\n" +
"}\n");
writer.close();
return config.getAbsolutePath();