aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ajax.js')
-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 878b311eb..b7e2cf191 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -1,6 +1,6 @@
module("ajax", { teardown: moduleTeardown });
-if ( !isLocal || hasPHP) {
+if ( jQuery.ajax && ( !isLocal || hasPHP ) ) {
test("jQuery.ajax() - success callbacks", function() {
expect( 8 );