N°7803 Fix test not working on a clean installation

This commit is contained in:
Romain Quetiez
2024-10-21 10:45:26 +02:00
parent 015ff8f179
commit 764eddd9f8

View File

@@ -12,6 +12,7 @@ class AjaxPageTest extends ItopDataTestCase {
public function testCompileOperation()
{
// Given
static::RecurseMkdir(APPROOT.'data/hub');
file_put_contents(APPROOT.'data/hub/compile_authent', self::AUTHENTICATION_TOKEN);
$sLogin = $this->GivenUserInDB(self::AUTHENTICATION_PASSWORD, ['Administrator']);