Пример #1
0
        public async void AddChatMessageAsAdminUserOnSubsonic()
        {
            var chatMessage = DateTime.UtcNow.Ticks.ToString(CultureInfo.InvariantCulture);
            var result      = await _adminSubsonicClient.AddChatMessageAsync(chatMessage);

            Assert.True(result);

            var chatMessages = await _noPlaySubsonicClient.GetChatMessagesAsync();

            Assert.NotEmpty(chatMessages.Items.Where(c => c.Message == chatMessage && c.Username == AdminUser));
        }