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

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

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