From 7ed6f330c6f01c0c8d4228071343073f582686f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Wed, 4 Jan 2017 22:09:44 +0100 Subject: [PATCH] MDL-57563 lang: Use the new newsitemsnumber wording in behat --- blocks/news_items/tests/behat/display_news.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/news_items/tests/behat/display_news.feature b/blocks/news_items/tests/behat/display_news.feature index ada6a9e1866..2093c763d26 100644 --- a/blocks/news_items/tests/behat/display_news.feature +++ b/blocks/news_items/tests/behat/display_news.feature @@ -13,7 +13,7 @@ Feature: Latest announcements block displays the course latest news And I create a course with: | Course full name | Course 1 | | Course short name | C1 | - | News items to show | 5 | + | Number of announcements | 5 | And I enrol "Teacher 1" user as "Teacher" And I log out And I log in as "teacher1" @@ -36,13 +36,13 @@ Feature: Latest announcements block displays the course latest news And I should see "Discussion Three" in the "Latest announcements" "block" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: - | News items to show | 2 | + | Number of announcements | 2 | And I press "Save and display" And I should not see "Discussion One" in the "Latest announcements" "block" And I should see "Discussion Two" in the "Latest announcements" "block" And I should see "Discussion Three" in the "Latest announcements" "block" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: - | News items to show | 0 | + | Number of announcements | 0 | And I press "Save and display" And "Latest announcements" "block" should not exist