Fix form to create forum thread + fix its behat test

remotes/angel/1.11.x
Angel Fernando Quiroz Campos 9 years ago
parent 2b1aa5972b
commit cc0ecb04be
  1. 1
      main/forum/forumfunction.inc.php
  2. 2
      tests/features/forum.feature

@ -2801,6 +2801,7 @@ function show_add_post_form($current_forum, $forum_setting, $action = '', $id =
'post_text',
get_lang('Text'),
true,
false,
api_is_allowed_to_edit(null, true) ? array(
'ToolbarSet' => 'Forum',
'Width' => '100%',

@ -23,7 +23,7 @@ Feature: Forum tool
Then I should see "The forum has been added"
Scenario: Create a forum thread
Given I am on "/main/forum/newthread.php?forum=5"
Given I am on "/main/forum/newthread.php?forum=1"
When I fill in the following:
| post_title | Thread One |
| post_text | This is a the first thread in a forum for test |

Loading…
Cancel
Save