Closed EvanPeterson1324 closed 1 year ago
Merging #130 (cd69cf8) into master (3fc1800) will increase coverage by
0.06%
. The diff coverage is85.71%
.
@EvanPeterson1324 The tests are working now. I dont know how this changed but there was no redirect URI in the configs . That said, there is still something you might have to look into in code. This is the current failure logs : https://app.travis-ci.com/github/smartcar/java-sdk/jobs/599949031 If you scroll down to find the issue you will see this
> Task :compileTestJava FAILED
/home/travis/build/smartcar/java-sdk/src/test/java/com/smartcar/sdk/VehicleTest.java:223: error: unexpected type
Assert.assertTrue(chargeLimit.getChargeLimit() instanceof Double);
^
required: reference
found: double
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Points to a code issue that we introduced.
@EvanPeterson1324 The tests are working now. I dont know how this changed but there was no redirect URI in the configs . That said, there is still something you might have to look into in code. This is the current failure logs : https://app.travis-ci.com/github/smartcar/java-sdk/jobs/599949031 If you scroll down to find the issue you will see this
> Task :compileTestJava FAILED /home/travis/build/smartcar/java-sdk/src/test/java/com/smartcar/sdk/VehicleTest.java:223: error: unexpected type Assert.assertTrue(chargeLimit.getChargeLimit() instanceof Double); ^ required: reference found: double Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
Points to a code issue that we introduced.
I fixed the above issue :+1: I needed to wrap the primitive double
with the Double
constructor for it to check properly with instanceof
Overview
Adds one new data type
VehicleChargeLimit
with two new methods,getChargeLimit()
andsetChargeLimit(double limit)
Asana: https://app.asana.com/0/1204073873904879/1204302264096976/f
Checklist