Skip to content

Commit

Permalink
MDL-51285 mod_forum: Discussion post should not have same time stamp
Browse files Browse the repository at this point in the history
Discussion post are sorted by timemodified
if they have same timemodified then results
will be random
  • Loading branch information
rajesh Taneja committed Sep 3, 2015
1 parent f660908 commit f3661a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod/forum/tests/behat/discussion_navigation.feature
Expand Up @@ -78,21 +78,26 @@ Feature: A user can navigate to previous and next discussions
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 1 Group 0 |
| Message | Test post message |
And I wait "1" seconds
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 2 Group 0 |
| Message | Test post message |
And I wait "1" seconds
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 1 Group 1 |
| Message | Test post message |
| Group | Group 1 |
And I wait "1" seconds
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 2 Group 1 |
| Message | Test post message |
| Group | Group 1 |
And I wait "1" seconds
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 1 Group 2 |
| Message | Test post message |
| Group | Group 2 |
And I wait "1" seconds
And I add a new discussion to "Test forum name" forum with:
| Subject | Discussion 2 Group 2 |
| Message | Test post message |
Expand Down

0 comments on commit f3661a7

Please sign in to comment.