public void EditProfile()
        {
            Buyer b = _repo.GetProfile("3");

            b.Password = "******";
            Buyer b1 = _repo.GetProfile("3");

            Assert.AreSame(b, b1);
        }
        public void TestEditProfile()

        {
            _buyrepo.EditProfile(new Buyer()
            {
                BuyerId         = "4",
                UserName        = "******",
                EmailId         = "navya@1441",
                Password        = "******",
                MobileNo        = "9912897856",
                CreatedDateTime = DateTime.Now
            });

            var result = _buyrepo.GetProfile("4");

            Assert.IsNotNull(result);
        }
        public void TestGetProfile()
        {
            var result = _repo.GetProfile("B001");

            Assert.IsNotNull(result);
        }
示例#4
0
        public void TestGetProfile()
        {
            var res = rep.GetProfile(2);

            Assert.NotNull(res);
        }