public void TestLogs()
        {
            var res = _client.GetLogs();

            Assert.IsTrue(((JArray)res["logs"]).Count > 0);
            res = _client.GetLogs(0, 1, false);
            Assert.AreEqual(1, ((JArray)res["logs"]).Count);
        }
예제 #2
0
        public async Task TestLogs()
        {
            var res = await _client.GetLogs();

            Assert.IsTrue(((JArray)res["logs"]).Count > 0);
            res = await _client.GetLogs(0, 1);

            Assert.AreEqual(1, ((JArray)res["logs"]).Count);
        }