Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update missing props to tests related to EditListingWizard #1246

Merged
merged 2 commits into from
Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2019-XX-XX

- [fix] Update links to API Reference docs. [#1231](https://github.com/sharetribe/ftw-daily/pull/1231)
- [fix] Add missing props to tests related to EditListingWizard
[#1246](https://github.com/sharetribe/ftw-daily/pull/1246)
- [fix] Update links to API Reference docs.
[#1231](https://github.com/sharetribe/ftw-daily/pull/1231)

## [v3.7.0] 2019-12-09

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ describe('EditListingAvailabilityForm', () => {
saveActionMsg="Save rules"
updated={false}
updateInProgress={false}
disabled={false}
ready={false}
availability={{
calendar: {
// '2018-12': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ exports[`EditListingAvailabilityForm matches snapshot 1`] = `
"type": "availability-plan/day",
}
}
disabled={false}
dispatch={[Function]}
intl={
Object {
Expand All @@ -60,6 +61,7 @@ exports[`EditListingAvailabilityForm matches snapshot 1`] = `
}
}
onSubmit={[Function]}
ready={false}
render={[Function]}
saveActionMsg="Save rules"
updateError={null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ describe('EditListingDescriptionForm', () => {
saveActionMsg="Save description"
updated={false}
updateInProgress={false}
disabled={false}
ready={false}
categories={[{ key: 'cat1', label: 'Cat 1' }, { key: 'cat2', label: 'Cat 2' }]}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ describe('EditListingLocationForm', () => {
saveActionMsg="Save location"
updated={false}
updateInProgress={false}
disabled={false}
ready={false}
/>
);
expect(tree).toMatchSnapshot();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`EditListingLocationForm matches snapshot 1`] = `
<ReactFinalForm
disabled={false}
dispatch={[Function]}
fetchErrors={null}
intl={
Expand All @@ -17,6 +18,7 @@ exports[`EditListingLocationForm matches snapshot 1`] = `
}
}
onSubmit={[Function]}
ready={false}
render={[Function]}
saveActionMsg="Save location"
selectedPlace={null}
Expand Down
2 changes: 2 additions & 0 deletions src/forms/EditListingPhotosForm/EditListingPhotosForm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ describe('EditListingPhotosForm', () => {
updated={false}
ready={false}
updateInProgress={false}
disabled={false}
ready={false}
onRemoveImage={noop}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`EditListingPhotosForm matches snapshot 1`] = `
<ReactFinalForm
disabled={false}
dispatch={[Function]}
fetchErrors={null}
imageUploadRequested={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ describe('EditListingPoliciesForm', () => {
saveActionMsg="Save rules"
updated={false}
updateInProgress={false}
disabled={false}
ready={false}
/>
);
expect(tree).toMatchSnapshot();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`EditListingPoliciesForm matches snapshot 1`] = `
<ReactFinalForm
disabled={false}
dispatch={[Function]}
intl={
Object {
Expand All @@ -17,6 +18,7 @@ exports[`EditListingPoliciesForm matches snapshot 1`] = `
}
onSubmit={[Function]}
publicData={Object {}}
ready={false}
render={[Function]}
saveActionMsg="Save rules"
selectedPlace={null}
Expand Down