N°4459 - Sodium default encrypted key invalid in the CI (workaround)

This commit is contained in:
Romain Quetiez
2024-05-17 15:26:53 +02:00
parent 48857631a4
commit 8823068608

View File

@@ -14,6 +14,14 @@ class QueryBuilderExpressionsTest extends \Combodo\iTop\Test\UnitTest\ItopCustom
return __DIR__."/Delta/all-attributes.xml";
}
protected function setUp(): void
{
parent::setUp();
// Workaround to cope with inconsistent settings in itop-config files from the CI
\AttributeEncryptedString::$sKey = "6eb9d9afa3ee0fbcebe622a33bf57aaeafb7c37998fd24c403c2522c2d60117f";
}
public function testICanWriteAndReadAnyTypeOfAttribute()
{
$oTagA = \MetaModel::NewObject(\TagSetFieldData::GetTagDataClassName('TestObject', 'tagset'), [