Example #1
0
        public async Task Bonus_UpdateBonusRatingAsync_Return_BonusDTO()
        {
            CreateDefaultBonusServiceInstance();
            var    idBonus = _fakeBonuseDtos[0].Id;
            double rating  = 4.55;

            var bonus = await _bonusService.UpdateBonusRatingAsync(idBonus, rating, default(CancellationToken));

            Assert.True(bonus.Rating > 0);
        }