1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Rolls back xss filter test

This commit is contained in:
mabashian 2018-06-28 13:26:48 -04:00
parent cbcc47010d
commit b426eeeb5c

View File

@ -12,6 +12,6 @@ describe('Filter: sanitize', () => {
});
it('should sanitize xss-vulnerable strings', function(){
expect(filter("<div>foobar</div>")).toBe("<div>foobar</div>");
expect(filter("<div>foobar</div>")).toBe("&lt;div&gt;foobar&lt;/div&gt;");
});
});