示例#1
0
        public void Example_of_using_api_UpdateCard()
        {
            //Updates the Cards properties with the provided values.
            //prerequisites (records with specified ids must exist in db)

            var dto = new CardItem
            {
                Id     = 5,
                Title  = "Updated Card Title",
                TypeId = 3
            };

            var output = _caller.UpdateCard(_data.BoardId.ToString(), _data.LaneId.ToString(), dto);

            Assert.That(output.Contains("The Card was successfully updated."));
        }