Esempio n. 1
0
        public async Task TestSetGlowNotUnlocked()
        {
            var           user   = MockUser(glowColorUnlocked: false);
            CommandResult result = await _userCommands.SetGlow(new CommandContext(MockMessage(user),
                                                                                  ImmutableList.Create("#123456"), _argsParser));

            Assert.AreEqual("glow color is still locked, use 'unlockglow' to unlock (costs T1)", result.Response);
            _userRepoMock.VerifyNoOtherCalls();
        }