fix: adds tests

This commit is contained in:
Sebastian Rindom committed 2021-04-06 18:55:11 +02:00
1 parent fa1fe9d619
commit 69442a1735
6 files changed
+229 -2240

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ function registerModels(pluginDetails, container) {
if (typeof val === "function" || val instanceof EntitySchema) {
const name = formatRegistrationName(fn)
container.register({
[name]: asClass(val),
[name]: asValue(val),
})
container.registerAdd("db_entities", asValue(val))