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

use new HttpContent each time for HttpRequestMock #4199

Merged
merged 10 commits into from Jul 24, 2020

Conversation

xieofxie
Copy link
Contributor

Description

use new HttpContent each time: when used by some custom action, they may dispose it so we can't reuse HttpContent

Specific Changes

add HttpResponseMockContent to generate HttpContent

Testing

update TestScriptTests_HttpRequestMock.test.dialog for repeating bytearray response

@xieofxie xieofxie changed the title use new HttpContent each time use new HttpContent each time for HttpRequestMock Jun 30, 2020
Copy link
Contributor

@tomlm tomlm left a comment

Choose a reason for hiding this comment

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

:shipit:

@mrivera-ms mrivera-ms added the changes required Reviews has requested changes to be made before approval label Jul 22, 2020
@mrivera-ms
Copy link
Contributor

@xieofxie, please fix the conflicts so we can move forward with reviewing and merging.

libraries/Microsoft.Bot.Builder.Dialogs.Adaptive.Testing/HttpRequestMocks/SequenceResponseManager.cs
@xieofxie xieofxie requested review from chrimc62 and a team as code owners July 23, 2020 03:40
@xieofxie
Copy link
Contributor Author

@mrivera-ms Thanks! Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes required Reviews has requested changes to be made before approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants