Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Unit test "Add_duplicate_parameter_in_different_casing_throws_argument_exception" failed when system culture is not "en". #2565

Closed
2 of 8 tasks
EAllmann opened this issue Sep 14, 2016 · 1 comment
Assignees
Labels

Comments

@EAllmann
Copy link

EAllmann commented Sep 14, 2016

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of Nancy
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

The Unit test "Add_duplicate_parameter_in_different_casing_throws_argument_exception" failed when system Culture is not en.
The test compare the exception message to a constant string: "An item with the same key has already been added."
If the default system language is not englisch the test will fail.

Steps to Reproduce

Run the Unit Tests on a system with an other culture then "en".

System Configuration

I run the tests configured for de-DE

  • Nancy version:
  • Nancy host
    • ASP.NET
    • OWIN
    • Self-Hosted
    • Other:
  • Other Nancy packages and versions:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:
khellang added a commit to khellang/Nancy that referenced this issue Sep 15, 2016
@khellang khellang added the Bug label Sep 15, 2016
@khellang khellang added this to the 2.0-clinteastwood milestone Sep 15, 2016
@khellang khellang self-assigned this Sep 15, 2016
@khellang
Copy link
Member

khellang commented Sep 15, 2016

Thanks for reporting @EAllmann! ❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants