From 20a660f864b6ff2979d1ccbf06523b7609f7a18a Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 22 May 2020 14:45:05 +0800 Subject: [PATCH] MDL-68367 qtype_multichoice: Decrease minimum expected export file size * Exporting via Oracle trims trailing zeroes in floating numbers which results to a smaller file size for the exported file. Better to reduce the minimum expected export file size from 4000 bytes to 3900 bytes. --- question/type/multichoice/tests/behat/export.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multichoice/tests/behat/export.feature b/question/type/multichoice/tests/behat/export.feature index 414a2c9e023..27fd30eb613 100644 --- a/question/type/multichoice/tests/behat/export.feature +++ b/question/type/multichoice/tests/behat/export.feature @@ -28,7 +28,7 @@ Feature: Test exporting Multiple choice questions When I navigate to "Question bank > Export" in current page administration And I set the field "id_format_xml" to "1" And I press "Export questions to file" - Then following "click here" should download between "4000" and "4100" bytes + Then following "click here" should download between "3900" and "4100" bytes # If the download step is the last in the scenario then we can sometimes run # into the situation where the download page causes a http redirect but behat # has already conducted its reset (generating an error). By putting a logout