Browse Source

Fix commit about creation of test database

pull/8/head
Anton Tarasenko 3 years ago
parent
commit
5f66705386
  1. 3
      sources/Data/Database/Tests/TEST_LocalDatabase.uc

3
sources/Data/Database/Tests/TEST_LocalDatabase.uc

@ -117,7 +117,8 @@ local LocalDatabaseInstance db;
source = GetJSONTemplateString();
parser = __().text.ParseString(source);
root = AssociativeArray(__().json.ParseWith(parser));
db = class'LocalDatabaseInstance'.static.NewDatabase(P("TEST_ReadOnly"));
db = __().db.NewLocal(P("TEST_ReadOnly"));
db.WriteData(__().json.Pointer(), root);
*/
protected static function string GetJSONTemplateString()
{

Loading…
Cancel
Save