1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2025-07-01 08:47:36 +00:00

ListAll command + test

This commit is contained in:
glucaci
2016-12-16 14:00:16 +01:00
parent 7f7b5b4615
commit 15c81b96e9
2 changed files with 28 additions and 8 deletions

View File

@ -53,7 +53,8 @@ namespace LibMpcTest
Console.Out.WriteLine("ListAllTest Result:");
Console.Out.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
// TODO: Assert
Assert.True(response.Response.Body.Keys.Contains("directories"));
Assert.True(response.Response.Body["directories"].Count.Equals(5));
}
public void Dispose()