Exemple #1
0
        public async Task Delete()
        {
            await user1.Unfollow(user2.ObjectId);

            // 查询好友
            Assert.AreEqual((await GetFriends()).Count, 0);
        }
Exemple #2
0
        public async Task Unfollow()
        {
            await LCUser.BecomeWithSessionToken(user2.SessionToken);

            await user2.Unfollow(user1.ObjectId);

            await LCUser.BecomeWithSessionToken(user3.SessionToken);

            await user3.Unfollow(user1.ObjectId);
        }