public void UpdateSchema() { _schemaDto.Name = "jiujiu"; var response = new MockClient().UpdateSchema(_schemaDto); Assert.True(response); }
public void GetAfterUpdatedSchema() { var response = new MockClient().GetSchema(_testSchemaCode); Assert.NotNull(response); Assert.Equal(_testSchemaCode, response.SchemaCode); Assert.Equal("jiujiu", response.Name); }
public void GetSchema() { var response = new MockClient().GetSchema(_testSchemaCode); //临时记录 _schemaDto = response; Assert.NotNull(response); Assert.Equal(_testSchemaCode, response.SchemaCode); Assert.Equal("哈哈", response.Name); }
public void AddSchema() { var response = new MockClient().AddSchema(new SchemaDTO { SchemaCode = _testSchemaCode, Name = "哈哈" }); Assert.True(response); }
public void RemoveSchema() { var response = new MockClient().RemoveSchema(_testSchemaCode); Assert.True(response); }