N°8764 halt setup wizard at data issue - 2nd review

This commit is contained in:
odain
2026-01-13 15:21:57 +01:00
committed by Eric Espie
parent 789c4bb5ea
commit fe6ba35ada
7 changed files with 71 additions and 81 deletions

View File

@@ -732,11 +732,12 @@ abstract class ItopTestCase extends KernelTestCase
/**
* Return a temporary file path. that will be cleaned up by tearDown()
* @return string: temporary file path
*
* @return string: temporary file path: file prefix include phpunit test method name
*/
public function GetTemporaryFilePath(string $sPrefix = "test"): string
public function GetTemporaryFilePath(): string
{
$sPrefix = $this->getName(false);
$sPath = tempnam(sys_get_temp_dir(), $sPrefix);
$this->aFileToClean[] = $sPath;
return $sPath;