This commit is contained in:
Shish
2024-02-08 00:50:41 +00:00
parent 1edb7b6126
commit fed8e43e36
3 changed files with 8 additions and 4 deletions

View File

@@ -255,6 +255,9 @@ class PolyfillsTest extends TestCase
$this->assertFalse(file_exists($dir));
}
/**
* @param array<string, string> $vars
*/
private function _tbh(array $vars, string $result): void
{
// update $_SERVER with $vars, call get_base_href() and check result, then reset $_SERVER to original value