Skip to content

Commit 09aa108

Browse files
committed
use size for reimbursecharge test, remove oauth1 - oauth2 default
1 parent 12343d0 commit 09aa108

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/main/java/com/intuit/developer/sampleapp/crud/entities/reimbursecharge/ReimburseChargeQuery.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public static void queryReimburseCharge() throws FMSException, ParseException {
4646
// get reimbursecharge based on HasBeenInvoiced
4747
sql = "Select * from ReimburseCharge Where HasBeenInvoiced = false";
4848
queryResult = service.executeQuery(sql);
49-
count = queryResult.getEntities().size();
50-
LOG.info("There are " + count + " Reimburse Charges where HasBeenInvoiced = false");
49+
LOG.info("Size: " + queryResult.getEntities().size());
5150
} catch (FMSException e) {
5251
List<Error> list = e.getErrorList();
5352
list.forEach(error -> LOG.error("Error while calling executeQuery :: " + error.getMessage()));

src/main/resources/config.properties

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
#For OAuth2 app set oauth.type=2
2-
oauth.type=1
2+
oauth.type=2
33

44
#OAuth2 access token
5-
oauth2.accessToken =
5+
oauth2.accessToken=
66

77
#company id or realmId
8-
company.id=
9-
10-
#OAuth1 keys
11-
app.token=
12-
consumer.key=
13-
consumer.secret=
14-
oauth.accessToken=
15-
oauth.accessTokenSecret=
8+
company.id=

0 commit comments

Comments
 (0)