Skip to content

Commit

Permalink
don't use MOCK.PERMITS as form values for project summary
Browse files Browse the repository at this point in the history
  • Loading branch information
taraepp committed Nov 8, 2024
1 parent 1051ed7 commit 519b0b9
Show file tree
Hide file tree
Showing 6 changed files with 1,094 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("AuthorizationsInvolved", () => {
<ReduxWrapper initialState={initialState}>
<FormWrapper
name={FORM.ADD_EDIT_PROJECT_SUMMARY}
initialValues={MOCK.PERMITS}
initialValues={MOCK.PROJECT_SUMMARY}
onSubmit={() => { }}
>
<BrowserRouter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("DocumentUpload", () => {
<ReduxWrapper initialState={initialState}>
<FormWrapper
name={FORM.ADD_EDIT_PROJECT_SUMMARY}
initialValues={MOCK.PERMITS}
initialValues={MOCK.PROJECT_SUMMARY}
onSubmit={() => { }}
>
<DocumentUpload docFieldsDisabled={false} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("ProjectDates", () => {
<ReduxWrapper initialState={initialState}>
<FormWrapper
name={FORM.ADD_EDIT_PROJECT_SUMMARY}
initialValues={MOCK.PERMITS}
initialValues={MOCK.PROJECT_SUMMARY}
onSubmit={() => { }}
>
<ProjectDates fieldsDisabled={false} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("ProjectLinks Component", () => {
<ReduxWrapper initialState={initialState}>
<FormWrapper
name={FORM.ADD_EDIT_PROJECT_SUMMARY}
initialValues={MOCK.PERMITS}
initialValues={MOCK.PROJECT_SUMMARY}
onSubmit={() => { }}
>
<ProjectLinks fieldsDisabled={false} viewProject={(record) => ""} />
Expand Down
Loading

0 comments on commit 519b0b9

Please sign in to comment.