示例#1
0
        public void GivenMarkusMachadoHasFoundTheDiscussionsForumThatHeWouldLikeTheCreateAThreadOn()
        {
            using (var admin = new OrchardClient()) {
                admin.Logon(ExampleUser.Admin);
                admin.CreateDiscussionsForum();
                admin.Logout();
            }

            Markus.ViewDiscussionsForum();
        }
示例#2
0
        public void GivenMarkusAndVasundharaAreViewingTheDiscussionsForum()
        {
            using (var admin = new OrchardClient()) {
                admin.Logon(ExampleUser.Admin);
                admin.CreateDiscussionsForum();
                admin.Logout();
            }

            Markus.ViewDiscussionsForum();
            Vasundhara.ViewDiscussionsForum();
        }