コード例 #1
0
        public async void ShouldUnfollowAUser()
        {
            await SetupCredentials();

            List <string> ids = new List <string>()
            {
                User_NoFollow
            };
            RegularError res = await Endpoints.UnfollowUsers(Creds.Access_token, ids);

            Assert.False(res.WasError, "Object Error");
            IReadOnlyList <bool> bools = await Endpoints.CheckCurrentUserFollowsUsers(Creds.Access_token, ids);

            Assert.False(bools[0], $"Expected to not follow artist {ids[0]}, but do");
        }