mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 22:37:12 +00:00
add constructor to configuration
This commit is contained in:
@@ -55,6 +55,15 @@ namespace SwaggerClientTest.TestConfiguration
|
||||
Assert.AreEqual("u", Configuration.Default.DateTimeFormat);
|
||||
}
|
||||
|
||||
[Test ()]
|
||||
public void TestConstructor()
|
||||
{
|
||||
Configuration c = new Configuration (username: "test username", password: "test password");
|
||||
Assert.AreEqual (c.Username, "test username");
|
||||
Assert.AreEqual (c.Password, "test password");
|
||||
|
||||
}
|
||||
|
||||
[Test ()]
|
||||
public void TestDefautlConfiguration ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user