From 3c55f7ab6275c56c293bff02f65686753099195a Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Sun, 7 May 2023 11:56:50 +0200
Subject: [PATCH] fix: tests

---
 .../test/cases/dom/customelement-initfromscripthost.mjs   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/development/test/cases/dom/customelement-initfromscripthost.mjs b/development/test/cases/dom/customelement-initfromscripthost.mjs
index f93bb14f4..2a8723345 100644
--- a/development/test/cases/dom/customelement-initfromscripthost.mjs
+++ b/development/test/cases/dom/customelement-initfromscripthost.mjs
@@ -102,13 +102,13 @@ describe('DOM', function () {
 
             });
             
-            it('should found callback initCustomControlOptionsCallback', function () {
+            it('should found callback initCustomControlCallback', function () {
 
                 let mocks = document.getElementById('mocks');
                 mocks.innerHTML = `<div id="call-back-host"></div><div id="container"></div>`;
                 
                 const container = document.getElementById('call-back-host');
-                container.initCustomControlOptionsCallback = function (control) {
+                container.initCustomControlCallback = function (control) {
                     control.setOption('test', 1);
                 }
                 
@@ -120,14 +120,14 @@ describe('DOM', function () {
 
             });
             
-            it('should found callback initCustomControlOptionsCallback from self', function () {
+            it('should found callback initCustomControlCallback from self', function () {
 
                 let mocks = document.getElementById('mocks');
                 mocks.innerHTML = `<div id="call-back-host"></div><div id="container"></div>`;
 
                 let control = document.createElement(randomTagNumber);
                 expect(control.getOption('test')).is.eql(0);
-                control.initCustomControlOptionsCallback = function (control) {
+                control.initCustomControlCallback = function (control) {
                     control.setOption('test', 2);
                 }
                 
-- 
GitLab