예제 #1
0
        public void ResetPasswordConfirmationView_Template_NullParameter_Test()
        {
            var template = new ResetPasswordConfirmation(null);
            var output   = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
예제 #2
0
        public void ResetPasswordConfirmationView_Template_Test()
        {
            var template = new ResetPasswordConfirmation(new SmartAppInfo {
                Id = ApplicationId
            });
            var output = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
예제 #3
0
        public IActionResult ResetPasswordConfirmation()
        {
            var model = new ResetPasswordConfirmation();

            return(View(model));
        }
예제 #4
0
        private void TransformViewsAccountResetPasswordConfirmation(SmartAppInfo manifest)
        {
            var template = new ResetPasswordConfirmation(manifest);

            _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText());
        }