rework registry

This commit is contained in:
Géry Debongnie
2019-02-02 16:51:24 +01:00
parent c9f2a6147c
commit e26cf25bd3
10 changed files with 57 additions and 63 deletions
+2 -3
View File
@@ -3,7 +3,7 @@ import { idGenerator } from "../src/ts/core/utils";
import { WEnv } from "../src/ts/core/widget";
import { Env } from "../src/ts/env";
import { IAjax, RPCQuery } from "../src/ts/core/ajax";
import { Registry } from "../src/ts/services/registry";
import { Registry } from "../src/ts/core/registry";
import { NotificationManager } from "../src/ts/core/notifications";
import { IActionManager, ActionEvent } from "../src/ts/services/action_manager";
@@ -30,11 +30,10 @@ export function makeTestEnv(): Env {
const router = new MockRouter();
const notifications = new NotificationManager();
let { qweb, getID } = makeTestWEnv();
const registry = new Registry();
return {
qweb,
getID,
registry,
actionRegistry: new Registry(),
ajax,
actionManager,
notifications,