Skip to content

Commit

Permalink
fix(tests): tests not considering ioc bindings
Browse files Browse the repository at this point in the history
fixed by changing order of calls to ioc container bindings and creating the simlets

refs #255
  • Loading branch information
ThorstenSuckow committed Dec 1, 2022
1 parent 16315c9 commit 0b81c1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/src/store/mail/folder/MailFolderTreeStoreTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import TestHelper from "/tests/lib/mail/TestHelper.js";
StartTest(async t => {

const helper = l8.liquify(TestHelper.get(t, window));
await helper.setupSimlets().registerIoC().mockUpMailTemplates().andRun((t) => {
await helper.registerIoC().setupSimlets().mockUpMailTemplates().andRun((t) => {

Ext.ux.ajax.SimManager.init({
delay: 1
Expand Down
2 changes: 1 addition & 1 deletion tests/src/view/mail/MailDesktopViewControllerTest_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import TestHelper from "/tests/lib/mail/TestHelper.js";
StartTest(async t => {

const helper = l8.liquify(TestHelper.get(t, window));
await helper.setupSimlets().registerIoC().mockUpMailTemplates().mockUpServices("coon.core.service.UserImageService").andRun((t) => {
await helper.registerIoC().setupSimlets().mockUpMailTemplates().mockUpServices("coon.core.service.UserImageService").andRun((t) => {

const getChildAt = function (panel, rootId, index, shouldBe, t) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import TestHelper from "/tests/lib/mail/TestHelper.js";
StartTest(async t => {

const helper = l8.liquify(TestHelper.get(t, window));
await helper.setupSimlets().registerIoC().mockUpMailTemplates().andRun((t) => {
await helper.registerIoC().setupSimlets().mockUpMailTemplates().andRun((t) => {

var view,
controller;
Expand Down

0 comments on commit 0b81c1f

Please sign in to comment.