diff --git a/tools/static-assets/skel-full/imports/api/links/methods.tests.js b/tools/static-assets/skel-full/imports/api/links/methods.tests.js index 4b6f7e88f4..505ebe69c2 100644 --- a/tools/static-assets/skel-full/imports/api/links/methods.tests.js +++ b/tools/static-assets/skel-full/imports/api/links/methods.tests.js @@ -23,32 +23,5 @@ if (Meteor.isServer) { assert.equal(Links.find().count(), 1); }); - - it('insert link method validation', function () { - const addLink = Meteor.server.method_handlers['links.insert']; - - let errors = 0; - - // Check url is String - try { - addLink.apply({}, ['meteor.com', 2]); - } catch (e) { - errors += 1; - } - // Check title is String - try { - addLink.apply({}, [1, 'meteor.com']); - } catch (e) { - errors += 1; - } - // Check url is valid - try { - addLink.apply({}, ['meteor.com', 'meteor.com']); - } catch (e) { - errors += 1; - } - - assert.equal(errors, 3); - }); }); }