aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 253272499..4f843f2e5 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -2823,7 +2823,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
done();
} );
- jQuery.get( url( "mock.php?action=json&header" ), null, "text" )
+ jQuery.get( url( "mock.php?action=json&header" ), data, success, "text" )
.then( function( text ) {
assert.strictEqual( text, "{\"data\":{\"lang\":\"en\",\"length\":25}}",
"`dataType: \"text\"` applied with `" + data + "` data & `" +