forked from loafle/openapi-generator-original
Move some travis tests to github workflow, remove redundant c# test (#13704)
* move some travis tests to github workflow, remove reduntant c# test * setup ruby * switch to setup-ruby * bundle install * remove bash * remove bundle install * remmvoe gemfile * add more folders in tab detection * comment out java folder in tab detection * undo changes in tab detection
This commit is contained in:
@@ -51,9 +51,8 @@ namespace Org.OpenAPITools.Test.Model
|
||||
[Fact]
|
||||
public void CatInstanceTest()
|
||||
{
|
||||
// test to ensure both Cat and Animal (parent) can have "AdditionalProperties", which result in warnings
|
||||
Cat c = JsonConvert.DeserializeObject<Cat>("{\"className\":\"cat\",\"bar\":\"from json bar\"}");
|
||||
Assert.Equal("from json bar", c.AdditionalProperties["bar"]);
|
||||
// TODO uncomment below to test "IsType" Cat
|
||||
//Assert.IsType<Cat>(instance);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user