diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-02 14:47:59 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-02 14:47:59 -0800 |
commit | 7369c68ddd08cfd4d443985072870df1fefaca18 (patch) | |
tree | 37c825ddec469501f81d8c1a7cfefb6323d6f2b6 /modules | |
parent | 3ceb0d57ba600b2e1ff0bf4c8bc16ead0f1f23d1 (diff) |
Ignore modules/gallery/views/kohana/error.php -- we're required to have that name by Kohana_404_Exception.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/tests/File_Structure_Test.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/tests/File_Structure_Test.php b/modules/gallery/tests/File_Structure_Test.php index a046b4dd..b5026188 100644 --- a/modules/gallery/tests/File_Structure_Test.php +++ b/modules/gallery/tests/File_Structure_Test.php @@ -36,6 +36,10 @@ class File_Structure_Test extends Unit_Test_Case { $dir = new GalleryCodeFilterIterator( new RecursiveIteratorIterator(new RecursiveDirectoryIterator(DOCROOT))); foreach ($dir as $file) { + if (strpos($file, "modules/gallery/views/kohana/error.php")) { + continue; + } + if (strpos($file, "views")) { $this->assert_true( preg_match("#/views/.*?(\.html|mrss|txt)\.php$#", $file->getPathname()), |