From 1b070cfe41c82cd31d2e6fe8753da0c672e87d91 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Mon, 27 Aug 2018 22:34:33 +0800 Subject: [PATCH] MDL-63187 tool_dataprivacy: Behat fixes for confirmation lang strings --- admin/tool/dataprivacy/tests/behat/manage_categories.feature | 2 +- admin/tool/dataprivacy/tests/behat/manage_purposes.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tool/dataprivacy/tests/behat/manage_categories.feature b/admin/tool/dataprivacy/tests/behat/manage_categories.feature index 94d9351fac7..9952bbb7201 100644 --- a/admin/tool/dataprivacy/tests/behat/manage_categories.feature +++ b/admin/tool/dataprivacy/tests/behat/manage_categories.feature @@ -29,6 +29,6 @@ Feature: Manage data categories Given I click on "Actions" "link" in the "Category 1" "table_row" And I choose "Delete" in the open action menu And I should see "Delete category" - And I should see "Are you sure you want to delete the category \"Category 1\"?" + And I should see "Are you sure you want to delete the category 'Category 1'?" When I press "Delete" Then I should not see "Category 1" in the "List of data categories" "table" diff --git a/admin/tool/dataprivacy/tests/behat/manage_purposes.feature b/admin/tool/dataprivacy/tests/behat/manage_purposes.feature index 36845df3289..b236d0a2a31 100644 --- a/admin/tool/dataprivacy/tests/behat/manage_purposes.feature +++ b/admin/tool/dataprivacy/tests/behat/manage_purposes.feature @@ -51,6 +51,6 @@ Feature: Manage data storage purposes Given I click on "Actions" "link" in the "Purpose 1" "table_row" And I choose "Delete" in the open action menu And I should see "Delete purpose" - And I should see "Are you sure you want to delete the purpose \"Purpose 1\"?" + And I should see "Are you sure you want to delete the purpose 'Purpose 1'?" When I press "Delete" Then I should not see "Purpose 1" in the "List of data purposes" "table"