Skip to content

Commit

Permalink
Behat fixes: OU blog, OU wiki, user options #93855
Browse files Browse the repository at this point in the history
  • Loading branch information
athompson697 authored and sammarshallou committed Sep 1, 2015
1 parent 0526fb3 commit 5526926
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function definition() {
$mform->setType('name', PARAM_TEXT);
$mform->addRule('name', get_string('required'), 'required', null, 'client');

$this->add_intro_editor(false, get_string('wikiintro', 'wiki'));
$this->standard_intro_elements(get_string('wikiintro', 'wiki'));

$mform->addElement('header', 'wikifieldset', get_string('wikisettings', 'wiki'));

Expand Down
4 changes: 2 additions & 2 deletions tests/behat/basic.feature
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Feature: Test Post and Comment on OUwiki entry

Scenario: Wiki history No groups -
Given I log in as "teacher1"
And I am on homepage
And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
When I add a "OU wiki" to section "1" and I fill the form with:
Expand Down Expand Up @@ -546,7 +546,7 @@ Feature: Test Post and Comment on OUwiki entry
| Content | PORNOGRAPHY |
And I log out
Given I log in as "admin"
And I am on homepage
And I am on site homepage
And I follow "Course 1"
And I follow "W.WX"
When I click on "Frogs" "link"
Expand Down

0 comments on commit 5526926

Please sign in to comment.