-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(repeater): implement HTTP request runner #87
Conversation
Code Climate has analyzed commit 4423771 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 96.4% (50% is the threshold). This pull request will bring the total coverage in the repository to 95.9%. View more on Code Climate. |
c05ae44
to
8a7c55d
Compare
_mockHttp.VerifyNoOutstandingExpectation(); | ||
result.Should().BeEquivalentTo(new | ||
{ | ||
Message = "The operation was canceled." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fact
culture has to be tied to en-US
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope at all, fluent assertions behave the same no matter the culture of the machine being run on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This message looks similar to one from OperationCancelledException
and it will be localized to the current user culture
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be localized, but it is not. You can easily verify this by running tests with LC_
env on Linux-like. I would highly appreciate you checking if the tests passed on Windows with zh-CN. If so, I don't see any reason to do this
test/SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unintentionally pressed approve, a few changes required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
closes #85