File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
src/test/java/Avalara/SDK/api/EInvoicing/V1 Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 31
31
-H "Content-Type: application/x-www-form-urlencoded" \
32
32
-d "grant_type=client_credentials&client_id=${{secrets.OKTA_CLIENT_ID}}&client_secret=${{secrets.OKTA_CLIENT_SECRET}}")
33
33
token=$(echo $response | jq -r '.access_token')
34
- echo "BEARER_TOKEN =${token}" >> $GITHUB_ENV
34
+ echo "BEARER_TOKEN_EINVOICING =${token}" >> $GITHUB_ENV
35
35
36
- - name : Build with Maven
37
- run : mvn --batch-mode --update-snapshots verify
36
+ - name : Clean and Compile with Maven
37
+ run : mvn clean compile
38
+
39
+ - name : Compile the tests
40
+ run : mvn test-compile
41
+
42
+ - name : Test With Maven
43
+ run mvn -Dtest=EInvoicingTest test
38
44
env :
39
- BEARER_TOKEN : ${{ env.BEARER_TOKEN }}
45
+ BEARER_TOKEN_EINVOICING : ${{ env.BEARER_TOKEN_EINVOICING }}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ private Configuration getConfiguration() {
47
47
configuration .setMachineName ("LocalBox" );
48
48
configuration .setTimeout (5000 );
49
49
configuration .setEnvironment (AvaTaxEnvironment .Sandbox );
50
- configuration .setBearerToken (dotenv .get ("E_INVOICING_BEARER_TOKEN " ));
50
+ configuration .setBearerToken (dotenv .get ("BEARER_TOKEN_EINVOICING " ));
51
51
return configuration ;
52
52
}
53
53
You can’t perform that action at this time.
0 commit comments