请找到插入链接:https://embed.plnkr.co/LDJ5JyuVhGaXIoBn3nW8/。我在其中应用过滤器的字段(年龄)的第一行显示为0.我怀疑这是因为过滤器中的逻辑。这是ui-grid实现的新手,因此任何帮助和建议都将有所帮助!
答案 0 :(得分:0)
在插件中更改年龄列的定义,如下所示
public class HttpClientServiceTests
{
[Fact]
public void Post_Returns200()
{
var httpClientMock = new Mock<HttpClient>();
//System.NotSupportedException : Invalid setup on a non-virtual (overridable in VB) member
httpClientMock.Setup(hc => hc.PostAsync("", It.IsAny<HttpContent>()))
.Returns(Task.FromResult(new HttpResponseMessage()));
}
}