Test updates with skip for DB, URL check skip and lookup fix

curl fix for printing out response, we just want true/false if connect worked
skip curl tests where we need a base url
skip any DB tests if there is no DB
update the caller method list test
This commit is contained in:
2026-06-25 17:24:45 +09:00
parent e3306a096f
commit 3f02bee643
4 changed files with 85 additions and 30 deletions
+24 -13
View File
@@ -551,19 +551,30 @@ final class CoreLibsDebugSupportTest extends TestCase
);
break;
case 12:
// add two "run" before "runBare"
array_splice(
$expected,
7,
0,
['run']
);
array_splice(
$expected,
0,
0,
['include']
);
// if compare starts with "main"
if ($compare[0] == 'main') {
// add two more run after main
array_splice(
$expected,
1,
0,
['run', 'run']
);
} else {
// add two "run" before "runBare"
array_splice(
$expected,
7,
0,
['run']
);
array_splice(
$expected,
0,
0,
['include']
);
}
$this->assertEquals(
$expected,
$compare,