summaryrefslogtreecommitdiff
path: root/js_tests/admin
diff options
context:
space:
mode:
Diffstat (limited to 'js_tests/admin')
-rw-r--r--js_tests/admin/RelatedObjectLookups.test.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/js_tests/admin/RelatedObjectLookups.test.js b/js_tests/admin/RelatedObjectLookups.test.js
index d2fd3194bb..83071edd43 100644
--- a/js_tests/admin/RelatedObjectLookups.test.js
+++ b/js_tests/admin/RelatedObjectLookups.test.js
@@ -1,21 +1,10 @@
-/* global module, test, html_unescape, id_to_windowname,
+/* global module, test, id_to_windowname,
windowname_to_id */
/* eslint global-strict: 0, strict: 0 */
'use strict';
module('admin.RelatedObjectLookups');
-test('html_unescape', function(assert) {
- function assert_unescape(then, expected, message) {
- assert.equal(html_unescape(then), expected, message);
- }
- assert_unescape('&lt;', '<', 'less thans are unescaped');
- assert_unescape('&gt;', '>', 'greater thans are unescaped');
- assert_unescape('&quot;', '"', 'double quotes are unescaped');
- assert_unescape('&#39;', "'", 'single quotes are unescaped');
- assert_unescape('&amp;', '&', 'ampersands are unescaped');
-});
-
test('id_to_windowname', function(assert) {
assert.equal(id_to_windowname('.test'), '__dot__test');
assert.equal(id_to_windowname('misc-test'), 'misc__dash__test');