N°4459 and N°7640 - Workaround for sodium default encrypted key invalid

This commit is contained in:
jf-cbd
2025-03-06 10:41:26 +01:00
parent 32dbf1490c
commit 7f2a1a6416

View File

@@ -22,6 +22,16 @@ class RestServicesSanitizeOutputTest extends ItopCustomDatamodelTestCase
{
private const SIMPLE_PASSWORD = '123456';
/**
* @throws Exception
*/
protected function setUp(): void
{
parent::setUp();
// Workaround to cope with inconsistent settings in itop-config files from the CI
AttributeEncryptedString::$sKey = '6eb9d9afa3ee0fbcebe622a33bf57aaeafb7c37998fd24c403c2522c2d60117f';
}
/**
* @return void
* @throws CoreException