From 5f6670538682e559112e9c4493805e5882179e86 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 5 Dec 2021 02:10:25 +0700 Subject: [PATCH] Fix commit about creation of test database --- sources/Data/Database/Tests/TEST_LocalDatabase.uc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/Data/Database/Tests/TEST_LocalDatabase.uc b/sources/Data/Database/Tests/TEST_LocalDatabase.uc index 5ea4204..4b25c45 100644 --- a/sources/Data/Database/Tests/TEST_LocalDatabase.uc +++ b/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() {