1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Disabled incomplete test.

This commit is contained in:
Cameron
2021-01-21 13:15:29 -08:00
parent 594cddae6e
commit 9ddad9a44a

View File

@@ -132,12 +132,14 @@
} }
/*
public function testPluginScripts() public function testPluginScripts()
{ {
$core = e107::getPlug()->getCorePluginList(); $core = e107::getPlug()->getCorePluginList();
$exclude = array('forum_post.php');
foreach($core as $plug) foreach($core as $plug)
{ {
@@ -153,7 +155,7 @@
{ {
$filePath = $path.'/'.$f; $filePath = $path.'/'.$f;
if(is_dir($filePath) || (strpos($f, '_sql.php') !== false) || strpos($f, '.php') === false) if(is_dir($filePath) || (strpos($f, '_sql.php') !== false) || strpos($f, '.php') === false || in_array($f, $exclude))
{ {
continue; continue;
} }
@@ -172,7 +174,7 @@
} }
*/