示例#1
0
        public async Task Layout()
        {
            var repo = BlogService.LayoutService;

            await repo.TestStatus();

            foreach (var item in LayoutData)
            {
                await repo.TestGet(item.Id);
            }

            foreach (var id in await repo.TestAll())
            {
                Assert.IsTrue(LayoutData.Any(x => x.Id == id));
            }
        }