public void TestEditProfile()
        {
            Seller seller = _repo.GetProfile("S001");

            seller.PostalAddress = "600096";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetProfile("S001");

            Assert.AreSame(seller, seller1);
        }
示例#2
0
        public void TestEditProfile()
        {
            _srepo.EditProfile(new Seller()
            {
                SellerId      = "5",
                UserName      = "******",
                EmailId       = "nav@14",
                Password      = "******",
                MobileNo      = "9912897856",
                CompanyName   = "Cts",
                Gstin         = "abckd",
                BriefDetails  = "ntng",
                PostalAddress = "chennai",
                Website       = "cts.com"
            }


                               );
            var result = _srepo.GetProfile("5");

            Assert.IsNotNull(result);
        }
示例#3
0
        public void TestEditProfile()
        {
            _srepo.EditProfile(new Seller()
            {
                SellerId      = "1",
                UserName      = "******",
                Password      = "******",
                CompanyName   = "ShoeMart",
                Gstin         = "abck123",
                BriefDetails  = "Hight Rated",
                PostalAddress = "Vijayawada",
                Website       = "www.shoemart.com",
                EmailId       = "*****@*****.**",
                MobileNo      = "9988776655"
                                //CreatedDateTime="2020-02-25"
            }



                               );
            var result = _srepo.GetProfile("1");

            Assert.IsNotNull(result);
        }
示例#4
0
        public void TestGetProfile()
        {
            var result = _repo.GetProfile("sf");

            Assert.Null(result);
        }
示例#5
0
        public void TestGetProfileSeller()
        {
            var result = _repo.GetProfile(1234);

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

            Assert.IsNotNull(result);
        }
        public void  ViewProfile()
        {
            var result = _repo1.GetProfile("2");

            Assert.IsNotNull(result);
        }