1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2025-01-14 22:18:43 +00:00

CommandsTest fixed

This commit is contained in:
glucaci 2016-12-20 11:26:42 +01:00
parent 36a4888789
commit 4cb95df50f

View File

@ -16,7 +16,9 @@ namespace LibMpcTest
TestOutput.WriteLine($"CommandsTest (commands: {response.Response.Body.Count()}) Result:");
TestOutput.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
Assert.True(response.Response.Body.Count().Equals(84));
// Different answer from MPD on Windows and on Linux, beacuse of Version.
// Check only if response is not empty
Assert.True(response.Response.Body.Any());
}
[Fact]