bug: Fix admin api client definition returning the wrong types (#65)

* bug: Fix admin api client definition returning the wrong types

- IFluentMockServerAdmin get, find and get all requests should return a log entry model
- Add tests for get and find using the rest ease api client

* Fix Build status and rename tests
This commit is contained in:
Alastair Crabtree
2017-11-19 19:44:05 +00:00
committed by Stef Heyenrath
parent d39e9ef7fa
commit 208303729e
4 changed files with 70 additions and 5 deletions

View File

@@ -486,7 +486,7 @@ namespace WireMock.Server
}
}
var result = dict.OrderBy(x => x.Value.AverageTotalScore).Select(x => x.Key);
var result = dict.OrderBy(x => x.Value.AverageTotalScore).Select(x => x.Key).Select(ToLogEntryModel);
return ToJson(result);
}