Beispiel #1
0
        public void UpdateDiaryNumberTwiceDoNotThrowException()
        {
            string diaryNumber = Guid.NewGuid().ToString();
            var    config      = Global.GetConfig;
            var    api         = new AbouRestApi(config);

            api.UpdateDiaryNumber("190227-BSF_10-GC95", diaryNumber);
            api.UpdateDiaryNumber("190227-BSF_10-GC95", diaryNumber);
        }
Beispiel #2
0
        public void UpdateDiaryNumber()
        {
            var config = Global.GetConfig;
            var api    = new AbouRestApi(config);

            api.UpdateDiaryNumber("190227-BSF_10-GC95", Guid.NewGuid().ToString());
        }
Beispiel #3
0
        public void UpdateDiaryNumberData()
        {
            var config = Global.GetConfig;
            var api    = new AbouRestApi(config);

            var data = new DataDiaryNumber(config)
            {
                UniqueId    = "190227-BSF_10-GC95",
                DiaryNumber = Guid.NewGuid().ToString()
            };

            api.UpdateDiaryNumber(data);
        }