public void TestCreateTabAndUpdate()
        {
            var tabUuid = CreateTabAndGetUuid();

            AddTabItem(tabUuid);

            TabUsageSingle.Update(CASH_REGISTER_ID, tabUuid, status: STATUS_WAITING);

            DeleteTab(tabUuid);
        }
Example #2
0
        public void TestCreateTabAndUpdate()
        {
            var tabUuid = CreateTabAndGetUuid();

            AddTabItem(tabUuid);

            var updateTabMap = new Dictionary <string, object>
            {
                { TabUsageSingle.FIELD_STATUS, FIELD_STATUS_WAITING }
            };

            TabUsageSingle.Update(API_CONTEXT, updateTabMap, USER_ID, MONETARY_ACCOUNT_ID, CASH_REGISTER_ID, tabUuid);

            DeleteTab(tabUuid);
        }