diff --git a/CHANGELOG.md b/CHANGELOG.md index f4332d33d9..c8380a3a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/forms/EditListingAvailabilityForm/EditListingAvailabilityForm.test.js b/src/forms/EditListingAvailabilityForm/EditListingAvailabilityForm.test.js index bb8388e98b..ede226f543 100644 --- a/src/forms/EditListingAvailabilityForm/EditListingAvailabilityForm.test.js +++ b/src/forms/EditListingAvailabilityForm/EditListingAvailabilityForm.test.js @@ -16,6 +16,8 @@ describe('EditListingAvailabilityForm', () => { saveActionMsg="Save rules" updated={false} updateInProgress={false} + disabled={false} + ready={false} availability={{ calendar: { // '2018-12': { diff --git a/src/forms/EditListingAvailabilityForm/__snapshots__/EditListingAvailabilityForm.test.js.snap b/src/forms/EditListingAvailabilityForm/__snapshots__/EditListingAvailabilityForm.test.js.snap index c420ea4810..28bf91e230 100644 --- a/src/forms/EditListingAvailabilityForm/__snapshots__/EditListingAvailabilityForm.test.js.snap +++ b/src/forms/EditListingAvailabilityForm/__snapshots__/EditListingAvailabilityForm.test.js.snap @@ -46,6 +46,7 @@ exports[`EditListingAvailabilityForm matches snapshot 1`] = ` "type": "availability-plan/day", } } + disabled={false} dispatch={[Function]} intl={ Object { @@ -60,6 +61,7 @@ exports[`EditListingAvailabilityForm matches snapshot 1`] = ` } } onSubmit={[Function]} + ready={false} render={[Function]} saveActionMsg="Save rules" updateError={null} diff --git a/src/forms/EditListingDescriptionForm/EditListingDescriptionForm.test.js b/src/forms/EditListingDescriptionForm/EditListingDescriptionForm.test.js index 30ade1377f..8ed278aefb 100644 --- a/src/forms/EditListingDescriptionForm/EditListingDescriptionForm.test.js +++ b/src/forms/EditListingDescriptionForm/EditListingDescriptionForm.test.js @@ -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' }]} /> ); diff --git a/src/forms/EditListingLocationForm/EditListingLocationForm.test.js b/src/forms/EditListingLocationForm/EditListingLocationForm.test.js index a97b5e0b3e..28832ad9fa 100644 --- a/src/forms/EditListingLocationForm/EditListingLocationForm.test.js +++ b/src/forms/EditListingLocationForm/EditListingLocationForm.test.js @@ -16,6 +16,8 @@ describe('EditListingLocationForm', () => { saveActionMsg="Save location" updated={false} updateInProgress={false} + disabled={false} + ready={false} /> ); expect(tree).toMatchSnapshot(); diff --git a/src/forms/EditListingLocationForm/__snapshots__/EditListingLocationForm.test.js.snap b/src/forms/EditListingLocationForm/__snapshots__/EditListingLocationForm.test.js.snap index 042fcfb627..0554526447 100644 --- a/src/forms/EditListingLocationForm/__snapshots__/EditListingLocationForm.test.js.snap +++ b/src/forms/EditListingLocationForm/__snapshots__/EditListingLocationForm.test.js.snap @@ -2,6 +2,7 @@ exports[`EditListingLocationForm matches snapshot 1`] = ` { updated={false} ready={false} updateInProgress={false} + disabled={false} + ready={false} onRemoveImage={noop} /> ); diff --git a/src/forms/EditListingPhotosForm/__snapshots__/EditListingPhotosForm.test.js.snap b/src/forms/EditListingPhotosForm/__snapshots__/EditListingPhotosForm.test.js.snap index 029cb95e79..b5edb5e47e 100644 --- a/src/forms/EditListingPhotosForm/__snapshots__/EditListingPhotosForm.test.js.snap +++ b/src/forms/EditListingPhotosForm/__snapshots__/EditListingPhotosForm.test.js.snap @@ -2,6 +2,7 @@ exports[`EditListingPhotosForm matches snapshot 1`] = ` { saveActionMsg="Save rules" updated={false} updateInProgress={false} + disabled={false} + ready={false} /> ); expect(tree).toMatchSnapshot(); diff --git a/src/forms/EditListingPoliciesForm/__snapshots__/EditListingPoliciesForm.test.js.snap b/src/forms/EditListingPoliciesForm/__snapshots__/EditListingPoliciesForm.test.js.snap index 6b703bb3ca..0a0bbd7142 100644 --- a/src/forms/EditListingPoliciesForm/__snapshots__/EditListingPoliciesForm.test.js.snap +++ b/src/forms/EditListingPoliciesForm/__snapshots__/EditListingPoliciesForm.test.js.snap @@ -2,6 +2,7 @@ exports[`EditListingPoliciesForm matches snapshot 1`] = `