Skip to content

LG-7179 | Capture client port number#6738

Merged
n1zyy merged 13 commits intomainfrom
mattw/LG-7179_capture_port
Aug 18, 2022
Merged

LG-7179 | Capture client port number#6738
n1zyy merged 13 commits intomainfrom
mattw/LG-7179_capture_port

Conversation

@n1zyy
Copy link
Contributor

@n1zyy n1zyy commented Aug 12, 2022

changelog: Internal, Attempts API, Captures client port number

expect(metadata[:user_ip_address]).to eq '127.0.0.1'
expect(metadata[:irs_application_url]).to eq 'http://localhost:7654/auth/result'
expect(metadata[:unique_session_id]).to be_a(String)
expect(metadata[:success]).to be_truthy
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm kind of ad-libbing stuff here. I wanted to test some attributes of the events, but didn't want to go through a ton of work in this file to mock out all the request parameters. Is this an improvement, or is doing some but not all of this worse than nothing?

@n1zyy n1zyy marked this pull request as ready for review August 17, 2022 20:32
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@n1zyy n1zyy merged commit e574c84 into main Aug 18, 2022
@n1zyy n1zyy deleted the mattw/LG-7179_capture_port branch August 18, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants