Skip to content

Commit

Permalink
Merge pull request #66 from GovTechSG/MOL-14129
Browse files Browse the repository at this point in the history
[MOL-14129][GW] Update fake-helper, allowing option to add multiple vehicles to person
  • Loading branch information
AnuMutyala authored Oct 25, 2023
2 parents 86817be + d837082 commit 319baaa
Show file tree
Hide file tree
Showing 7 changed files with 411 additions and 224 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelogs

## 8.2.0

- **[WARNING]** Remove `vehiclestatus` as a mock param option for `getPersonInfo` in fake helper
- Add `vehicles` as a mock param option for `getPersonInfo` in fake helper to mock multiple registered vehicles
- add `vehicleno`, `status` and `iulabelno` as mock param options for `vehicles`

## 8.1.0

- Add `regadd` as mock param options for fake profile
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ getPersonBasic({
hdbtype?: MyinfoHDBTypeCode;
housingtype?: MyinfoHousingTypeCode;
drivingqdlvalidity?: MyinfoDrivingLicenceValidityCode;
vehiclestatus?: MyinfoVehicleStatus;
vehicles?: VehicleDetails[];
employment?: string;
}) => MyInfoComponents.Schemas.PersonBasic

Expand All @@ -127,7 +127,7 @@ getPerson({
hdbtype?: MyinfoHDBTypeCode;
housingtype?: MyinfoHousingTypeCode;
drivingqdlvalidity?: MyinfoDrivingLicenceValidityCode;
vehiclestatus?: MyinfoVehicleStatus;
vehicles?: VehicleDetails[];
employment?: string;
cpfcontributionhistoryoverridemode?: OverrideMode;
cpfcontributions?: CpfContributionHistory[];
Expand Down
Loading

0 comments on commit 319baaa

Please sign in to comment.