예제 #1
0
        public void TestAuthenticateUserValid()
        {
            var controller = new AuthenticateController(_repository);

            var result = controller.Get("*****@*****.**", "pwd1") as OkNegotiatedContentResult <Boolean>;

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Content);
        }