mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
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.
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user