mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Use goog.html.testing instead of legacy conversions in test
Tested: TAP --sample for global presubmit queue [] dr-foss-test passes ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225189790
This commit is contained in:
parent
015c854a92
commit
4146e69d60
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ goog.require('goog.dom.classlist');
|
|||
goog.require('goog.dom.xml');
|
||||
goog.require('goog.events.EventType');
|
||||
goog.require('goog.format.JsonPrettyPrinter');
|
||||
goog.require('goog.html.legacyconversions');
|
||||
goog.require('goog.html.testing');
|
||||
goog.require('goog.json');
|
||||
goog.require('goog.testing.asserts');
|
||||
goog.require('goog.testing.events');
|
||||
|
@ -36,7 +36,7 @@ goog.require('goog.testing.net.XhrIo');
|
|||
registry.testing.addToDocument = function(html) {
|
||||
goog.global.document.body.appendChild(
|
||||
goog.dom.safeHtmlToNode(
|
||||
goog.html.legacyconversions.safeHtmlFromString(html)));
|
||||
goog.html.testing.newSafeHtmlForTest(html)));
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue