diff --git a/test/core/js/modules/webcaosdb.js.js b/test/core/js/modules/webcaosdb.js.js index ad26e8455fb7ca16a9e6e9687606b6aba1d0e7e6..d2ef27952e41142a62eb70e144571bc9d30c52d2 100644 --- a/test/core/js/modules/webcaosdb.js.js +++ b/test/core/js/modules/webcaosdb.js.js @@ -709,12 +709,6 @@ QUnit.test("removeAllErrorNotifications", function (assert) { '<div class="caosdb-preview-waiting-notification">Please wait!</div></div>')[0]; let emptyElem = $('<div></div>')[0]; - assert.throws(() => { - preview.removeAllErrorNotifications(); - }, "no parameter throws"); - assert.throws(() => { - preview.removeAllErrorNotifications(null); - }, "null parameter throws"); assert.equal(okElem.childNodes.length, 3, "before: three children"); assert.equal(okElem, preview.removeAllErrorNotifications(okElem), "return first parameter"); @@ -731,13 +725,6 @@ QUnit.test("removeAllWaitingNotifications", function (assert) { '<div class="caosdb-preview-error-notification">Error!</div></div>')[0]; let emptyElem = $('<div></div>')[0]; - assert.throws(() => { - removeAllWaitingNotifications(); - }, "no parameter throws"); - assert.throws(() => { - removeAllWaitingNotifications(null); - }, "null parameter throws"); - assert.equal(okElem.childNodes.length, 3, "before: three children"); assert.equal(okElem, removeAllWaitingNotifications(okElem), "return first parameter"); assert.equal(okElem.childNodes.length, 1, "after: one child");