add invalid api function tests

This commit is contained in:
Dennis Eichhorn 2023-10-18 01:03:57 +00:00
parent 333158e933
commit 92dabf580e

View File

@ -136,7 +136,7 @@ foreach ($modules as $module) {
echo $function . "\n"; echo $function . "\n";
$newContent = \createFunction($function); $newContent = \createFunction($function);
$newContent = \rtrim($testFile, " }\n") . "\n }\n" . $newContent . "}\n"; $newContent = \rtrim($testFile, " }\n") . "\n }\n" . $newContent . "}\n";
//\file_put_contents($path, $newContent); \file_put_contents($path, $newContent);
$open[$function] = 1; $open[$function] = 1;
} }
} }
@ -152,7 +152,7 @@ foreach ($modules as $module) {
echo $function . "\n"; echo $function . "\n";
$newContent = \createFunction($function); $newContent = \createFunction($function);
$newContent = \rtrim($testFile, " }\n") . "\n }\n" . $newContent . "}\n"; $newContent = \rtrim($testFile, " }\n") . "\n }\n" . $newContent . "}\n";
//\file_put_contents($path, $newContent); \file_put_contents($path, $newContent);
$open[$function] = 1; $open[$function] = 1;
} }
} }