From 003a2cc32e903e7e99d20cb53c7ee7ac1d70074b Mon Sep 17 00:00:00 2001 From: Gurpreet Atwal Date: Wed, 6 Jul 2022 10:01:33 -0700 Subject: [PATCH] chore(VehicleTest): fix batch test case it matches a real request (#109) The current test would result in our API returning a 400 status response because it sends the request array as a string. Just fixing this so it doesn't trip up anyone else who looks to the tests to try and make real API requests :p --- README.md | 14 +++++++------- docs/allclasses-frame.html | 2 +- docs/allclasses-noframe.html | 2 +- .../smartcar/sdk/AuthClient.AuthUrlBuilder.html | 4 ++-- docs/com/smartcar/sdk/AuthClient.Builder.html | 4 ++-- docs/com/smartcar/sdk/AuthClient.html | 4 ++-- docs/com/smartcar/sdk/Smartcar.html | 4 ++-- .../smartcar/sdk/SmartcarAuthOptions.Builder.html | 4 ++-- docs/com/smartcar/sdk/SmartcarAuthOptions.html | 4 ++-- .../sdk/SmartcarCompatibilityRequest.Builder.html | 4 ++-- .../smartcar/sdk/SmartcarCompatibilityRequest.html | 4 ++-- .../smartcar/sdk/SmartcarException.Builder.html | 4 ++-- docs/com/smartcar/sdk/SmartcarException.html | 4 ++-- .../sdk/SmartcarVehicleOptions.Builder.html | 4 ++-- docs/com/smartcar/sdk/SmartcarVehicleOptions.html | 4 ++-- .../sdk/SmartcarVehicleRequest.Builder.html | 4 ++-- docs/com/smartcar/sdk/SmartcarVehicleRequest.html | 4 ++-- docs/com/smartcar/sdk/Utils.html | 4 ++-- docs/com/smartcar/sdk/Vehicle.UnitSystem.html | 4 ++-- docs/com/smartcar/sdk/Vehicle.html | 4 ++-- docs/com/smartcar/sdk/data/ActionResponse.html | 4 ++-- docs/com/smartcar/sdk/data/ApiData.html | 4 ++-- .../smartcar/sdk/data/ApplicationPermissions.html | 4 ++-- docs/com/smartcar/sdk/data/Auth.html | 4 ++-- docs/com/smartcar/sdk/data/BatchDeserializer.html | 4 ++-- docs/com/smartcar/sdk/data/BatchResponse.html | 4 ++-- .../sdk/data/Compatibility.Capability.html | 4 ++-- docs/com/smartcar/sdk/data/Compatibility.html | 4 ++-- docs/com/smartcar/sdk/data/DisconnectResponse.html | 4 ++-- docs/com/smartcar/sdk/data/Meta.html | 4 ++-- docs/com/smartcar/sdk/data/RequestPaging.html | 4 ++-- docs/com/smartcar/sdk/data/ResponsePaging.html | 4 ++-- .../com/smartcar/sdk/data/UnsubscribeResponse.html | 4 ++-- docs/com/smartcar/sdk/data/User.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleAttributes.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleBattery.html | 4 ++-- .../smartcar/sdk/data/VehicleBatteryCapacity.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleCharge.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleEngineOil.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleFuel.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleIds.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleLocation.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleOdometer.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleResponse.html | 4 ++-- .../sdk/data/VehicleResponseDeserializer.html | 4 ++-- .../com/smartcar/sdk/data/VehicleTirePressure.html | 4 ++-- docs/com/smartcar/sdk/data/VehicleVin.html | 4 ++-- .../com/smartcar/sdk/data/WebhookSubscription.html | 4 ++-- docs/com/smartcar/sdk/data/package-frame.html | 2 +- docs/com/smartcar/sdk/data/package-summary.html | 4 ++-- docs/com/smartcar/sdk/data/package-tree.html | 4 ++-- docs/com/smartcar/sdk/package-frame.html | 2 +- docs/com/smartcar/sdk/package-summary.html | 4 ++-- docs/com/smartcar/sdk/package-tree.html | 4 ++-- docs/constant-values.html | 4 ++-- docs/deprecated-list.html | 4 ++-- docs/help-doc.html | 4 ++-- docs/index-all.html | 4 ++-- docs/index.html | 2 +- docs/overview-frame.html | 2 +- docs/overview-summary.html | 6 +++--- docs/overview-tree.html | 4 ++-- docs/serialized-form.html | 4 ++-- gradle.properties | 2 +- src/test/java/com/smartcar/sdk/VehicleTest.java | 12 +++++++++--- 65 files changed, 136 insertions(+), 130 deletions(-) diff --git a/README.md b/README.md index a7c9e21d..9a842eb8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The recommended method for obtaining the SDK is via Gradle or Maven through the ### Gradle ```groovy -compile "com.smartcar.sdk:java-sdk:3.2.1" +compile "com.smartcar.sdk:java-sdk:3.2.2" ``` ### Maven @@ -18,16 +18,16 @@ compile "com.smartcar.sdk:java-sdk:3.2.1" com.smartcar.sdk java-sdk - 3.2.1 + 3.2.2 ``` ### Jar Direct Download -* [java-sdk-3.2.1.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.1/java-sdk-3.2.1.jar) -* [java-sdk-3.2.1-sources.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.1/java-sdk-3.2.1-sources.jar) -* [java-sdk-3.2.1-javadoc.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.1/java-sdk-3.2.1-javadoc.jar) +* [java-sdk-3.2.2.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.2/java-sdk-3.2.2.jar) +* [java-sdk-3.2.2-sources.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.2/java-sdk-3.2.2-sources.jar) +* [java-sdk-3.2.2-javadoc.jar](https://search.maven.org/remotecontent?filepath=com/smartcar/sdk/java-sdk/3.2.2/java-sdk-3.2.2-javadoc.jar) -Signatures and other downloads available at [Maven Central](https://search.maven.org/artifact/com.smartcar.sdk/java-sdk/3.2.1/jar). +Signatures and other downloads available at [Maven Central](https://search.maven.org/artifact/com.smartcar.sdk/java-sdk/3.2.2/jar). ## Usage @@ -136,5 +136,5 @@ In accordance with the Semantic Versioning specification, the addition of suppor [ci-url]: https://travis-ci.com/smartcar/java-sdk [coverage-image]: https://codecov.io/gh/smartcar/java-sdk/branch/master/graph/badge.svg?token=nZAITx7w3X [coverage-url]: https://codecov.io/gh/smartcar/java-sdk -[javadoc-image]: https://img.shields.io/badge/javadoc-3.2.1-brightgreen.svg +[javadoc-image]: https://img.shields.io/badge/javadoc-3.2.2-brightgreen.svg [javadoc-url]: https://smartcar.github.io/java-sdk diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html index 8a4ef626..f1e49d70 100644 --- a/docs/allclasses-frame.html +++ b/docs/allclasses-frame.html @@ -3,7 +3,7 @@ -All Classes (java-sdk - 3.2.1) +All Classes (java-sdk - 3.2.2) diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html index 552f05de..c89d3455 100644 --- a/docs/allclasses-noframe.html +++ b/docs/allclasses-noframe.html @@ -3,7 +3,7 @@ -All Classes (java-sdk - 3.2.1) +All Classes (java-sdk - 3.2.2) diff --git a/docs/com/smartcar/sdk/AuthClient.AuthUrlBuilder.html b/docs/com/smartcar/sdk/AuthClient.AuthUrlBuilder.html index 01cd18d5..4cc47100 100644 --- a/docs/com/smartcar/sdk/AuthClient.AuthUrlBuilder.html +++ b/docs/com/smartcar/sdk/AuthClient.AuthUrlBuilder.html @@ -3,7 +3,7 @@ -AuthClient.AuthUrlBuilder (java-sdk - 3.2.1) +AuthClient.AuthUrlBuilder (java-sdk - 3.2.2) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/com/smartcar/sdk/data/package-summary.html b/docs/com/smartcar/sdk/data/package-summary.html index a42f5629..bae10a67 100644 --- a/docs/com/smartcar/sdk/data/package-summary.html +++ b/docs/com/smartcar/sdk/data/package-summary.html @@ -3,7 +3,7 @@ -com.smartcar.sdk.data (java-sdk - 3.2.1) +com.smartcar.sdk.data (java-sdk - 3.2.2) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/com/smartcar/sdk/package-summary.html b/docs/com/smartcar/sdk/package-summary.html index b3f484f3..c2637104 100644 --- a/docs/com/smartcar/sdk/package-summary.html +++ b/docs/com/smartcar/sdk/package-summary.html @@ -3,7 +3,7 @@ -com.smartcar.sdk (java-sdk - 3.2.1) +com.smartcar.sdk (java-sdk - 3.2.2) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/overview-summary.html b/docs/overview-summary.html index 811102b5..0a4bff47 100644 --- a/docs/overview-summary.html +++ b/docs/overview-summary.html @@ -3,7 +3,7 @@ -Overview (java-sdk - 3.2.1) +Overview (java-sdk - 3.2.2) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@