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:
William Cheng
2022-10-16 16:20:49 +08:00
committed by GitHub
parent f11cb7f17d
commit 866d67a78f
5 changed files with 36 additions and 15 deletions

View File

@@ -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);
}