Example #1
0
        public async Task Edit_DataIsSeed_AmountIsUpdated(uint amount)
        {
            try
            {
                var ii = new InventoryItem()
                {
                    ItemId      = 1,
                    InventoryId = 2,
                    Amount      = amount
                };
                var result = await uut.Edit(ii);

                var get = await uut.Get(1, "Bearer " + jwt);

                Assert.That(get.Value[0].Amount, Is.EqualTo(amount));
            }
            finally
            {
                dbc.Dispose();
            }
        }