diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-25 23:26:43 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-25 23:26:43 -0700 |
commit | cbd04e1ae02491ab4c213fe03d62d12ca1546251 (patch) | |
tree | 764445de9000c7fbd33f647dd24bd021e71c88e0 /modules/gallery/tests/File_Structure_Test.php | |
parent | 8814d7742d6689ce03bc3393e9ff436f31f2b58b (diff) |
Move random::string() to be test::random_string() and have it return a
random string of any length. Also introduce test::lorem_ipsum() and
use that in places where we want strings of words. Fixes #1713.
Diffstat (limited to 'modules/gallery/tests/File_Structure_Test.php')
-rw-r--r-- | modules/gallery/tests/File_Structure_Test.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/tests/File_Structure_Test.php b/modules/gallery/tests/File_Structure_Test.php index 69c4bbf9..1d1ff5ce 100644 --- a/modules/gallery/tests/File_Structure_Test.php +++ b/modules/gallery/tests/File_Structure_Test.php @@ -101,6 +101,7 @@ class File_Structure_Test extends Gallery_Unit_Test_Case { $expected_4 = array("<?php defined('SYSPATH') or die('No direct script access.');\n"); } else if (strpos($path, MODPATH . "forge") === 0 || strpos($path, MODPATH . "exif/lib") === 0 || + strpos($path, MODPATH . "gallery_unit_test/vendor") === 0 || strpos($path, MODPATH . "gallery/lib/HTMLPurifier") === 0 || $path == MODPATH . "user/lib/PasswordHash.php" || $path == DOCROOT . "var/database.php") { |