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

action tests #441

Merged
merged 3 commits into from
Dec 12, 2023
Merged

action tests #441

merged 3 commits into from
Dec 12, 2023

Conversation

analoo
Copy link
Contributor

@analoo analoo commented Dec 12, 2023

Co-Authored-By: @sree-cfa

@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-441 December 12, 2023 19:37 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-441 December 12, 2023 19:57 Inactive
FormSubmission form = new FormSubmission(Map.of(
"phoneNumber", "1234561234",
"emailAddress", BLANK_VALUE,
"remindersMethod[]", new ArrayList<>(List.of(PHONE_REMINDER))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can just say "List.of(PHONE_REMINDER)" rather than passing that into the new ArrayList<>()

"remindersMethod[]",  List.of(PHONE_REMINDER)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few other spots where you do this, but I won't make a comment at each one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were running into an issue when just passing List.of because it's immutable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 just confirmed that we see the immutable issue when trying to pass just the List.

@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-441 December 12, 2023 21:56 Inactive
@analoo analoo merged commit 2bdc461 into main Dec 12, 2023
5 checks passed
@analoo analoo deleted the create-action-unit-tests branch December 12, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants