diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-12 23:39:43 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-12 23:39:43 -0400 |
commit | 3b96a7d9124037c9e6f2e43ba5dd2de89175580b (patch) | |
tree | bcbd6a7317a477ed0f1810d0871d19208cd85fd3 /modules/simpletest/drupal_web_test_case.php | |
parent | 183a425c551969d4f56b04766fca82819a2a7b15 (diff) | |
download | brdo-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.php | 2 |
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. |