summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-12 23:39:43 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-12 23:39:43 -0400
commit3b96a7d9124037c9e6f2e43ba5dd2de89175580b (patch)
treebcbd6a7317a477ed0f1810d0871d19208cd85fd3 /modules/simpletest/drupal_web_test_case.php
parent183a425c551969d4f56b04766fca82819a2a7b15 (diff)
downloadbrdo-3b96a7d9124037c9e6f2e43ba5dd2de89175580b.tar.gz
brdo-3b96a7d9124037c9e6f2e43ba5dd2de89175580b.tar.bz2
Issue #2512210 by trgreen17, naveenvalecha, David_Rothstein, jhodgdon, liberatr: SimpleTest - WebTestBase method creates binary-text files when the intention was to create text files, and text file creation is broken
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index d7350698c..bf1e9c31c 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1065,7 +1065,7 @@ class DrupalWebTestCase extends DrupalTestCase {
$lines = array(16, 256, 1024, 2048, 20480);
$count = 0;
foreach ($lines as $line) {
- simpletest_generate_file('text-' . $count++, 64, $line);
+ simpletest_generate_file('text-' . $count++, 64, $line, 'text');
}
// Copy other test files from simpletest.