예제 #1
0
        public async Task GetAttachments()
        {
            IPlanGridApi      client      = PlanGridClient.Create();
            Page <Attachment> attachments = await client.GetAttachments(TestData.Project1Uid);

            Assert.AreEqual(1, attachments.Data.Count(x => !x.IsDeleted));
            Assert.AreEqual("0f1358c4-3cb4-4f68-ab46-2bebfc788ae9", attachments.Data[0].Uid);
        }
예제 #2
0
        public async Task GetAttachments()
        {
            IPlanGridApi      client      = PlanGridClient.Create();
            Page <Attachment> attachments = await client.GetAttachments(TestData.Project1Uid);

            Assert.AreEqual(1, attachments.Data.Count(x => !x.IsDeleted));
            Assert.AreEqual("49ffb02f-a28d-970e-e8bc-9256a4fbae1c", attachments.Data[0].Uid);
        }