Fix api & pool tests, add the crates to Travis

This commit is contained in:
Ignotus Peverell
2017-07-18 17:33:49 +00:00
parent 1ede61d2a2
commit 40090fcdbc
3 changed files with 14 additions and 10 deletions
+4 -2
View File
@@ -346,9 +346,11 @@ mod test {
impl ApiEndpoint for TestApi {
type ID = String;
type T = Animal;
type OP_IN = ();
type OP_OUT = ();
fn methods(&self) -> Vec<Method> {
vec![Method::Get]
fn operations(&self) -> Vec<Operation> {
vec![Operation::Get]
}
fn get(&self, name: String) -> ApiResult<Animal> {