Ejemplo n.º 1
0
        public void Register()
        {
            UL      user  = new UL();
            UserDtl user1 = new UserDtl()
            {
                firstName     = "Dhananjay",
                lastName      = "Yadav",
                userName      = "******",
                password      = "******",
                email         = "*****@*****.**",
                contactNumber = 9876350744,
                active        = true,
                role          = 1,
            };

            user.SignUp(user1);
            UserDtl user2 = user.GetDetails(4);

            Assert.IsNotNull(user2);
        }
Ejemplo n.º 2
0
        public void Register()
        {
            UL      user  = new UL();
            UserDtl user1 = new UserDtl()
            {
                firstName        = "Ritikh",
                lastName         = "Jaiswal",
                userName         = "******",
                password         = "******",
                email            = "*****@*****.**",
                contactNumber    = 9851324109,
                linkdinUrl       = "",
                yearOfExperience = null,
                training         = null,
                active           = true,
                role             = 1,
            };

            user.SignUp(user1);
            UserDtl user2 = user.GetDetails(11);

            Assert.IsNotNull(user2);
        }