public void TestEditProfile()
        {
            var x = _repo.getprofile(2);

            x.Scompany = "ITCLimited";
            _repo.EditProfile(x);
            var y = _repo.getprofile(2);

            Assert.AreSame(x, y);
        }
        public void TestEditProfile()
        {
            Seller seller = _repo.GetProfile("S001");

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

            Assert.AreSame(seller, seller1);
        }
        public void TestEditProfile()
        {
            Seller seller = _repo.GetProfile("1");

            seller.Gstin = " 20";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetProfile("1");

            Assert.AreSame(seller, seller1);
        }
        public void TestSellerUpdate()
        {
            Seller seller = _repo.GetProfile("2");

            seller.Gstin = "ttttt";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetProfile("2");

            Assert.AreSame(seller, seller1);
        }
        public void TestEditProfile()
        {
            Seller s = srep.GetSeller(3);

            s.Companyname = "kisankrish@infa";
            srep.EditProfile(s);
            Seller s1 = srep.GetSeller(3);

            Assert.AreSame(s, s1);
        }
Exemplo n.º 6
0
        public void TestEditProfile()
        {
            Seller seller = _repo.GetProfile("1");

            seller.Emailid = "Amazon";
            seller.Mobile  = "9581719882";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetProfile("1");

            Assert.AreSame(seller, seller1);
        }
Exemplo n.º 7
0
        public void TestEditProfile()
        {
            //Arrange
            Seller seller = _repo.GetProfile(1234);

            seller.Mobileno = "9524595677";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetProfile(1234);

            Assert.AreSame(seller, seller1);
        }
        public void TestEditProfile()
        {
            Seller seller = _repo.GetSellerProfile(1);

            seller.Companyname = "Cts";
            seller.Contactno   = "9581719882";
            _repo.EditProfile(seller);
            Seller seller1 = _repo.GetSellerProfile(1);

            Assert.AreSame(seller, seller1);
        }
Exemplo n.º 9
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);
        }
Exemplo n.º 10
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);
        }