diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-02-14 18:19:32 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-02-16 23:17:57 -0500 |
commit | 7226cf2800315e90b671db63f2b5f51150ad7e8e (patch) | |
tree | 7ae721d10ecf13231e475559a16b07c5c0a8b0ac /test/unit/ajax.js | |
parent | 6c2b64dfa5e1d6f90c74f0f1719e9f11f52de7a4 (diff) | |
download | jquery-7226cf2800315e90b671db63f2b5f51150ad7e8e.tar.gz jquery-7226cf2800315e90b671db63f2b5f51150ad7e8e.zip |
fixes #10901, PHP required for unit tests, but still allow the tests to run
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r-- | test/unit/ajax.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index ca851910a..acd8c2652 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1,11 +1,6 @@ module("ajax", { teardown: moduleTeardown }); -// Safari 3 randomly crashes when running these tests, -// but only in the full suite - you can run just the Ajax -// tests and they'll pass -//if ( !jQuery.browser.safari ) { - -if ( !isLocal ) { +if ( !isLocal || hasPHP) { test("jQuery.ajax() - success callbacks", function() { expect( 8 ); @@ -2331,6 +2326,4 @@ test("jQuery.ajax - active counter", function() { ok( jQuery.active == 0, "ajax active counter should be zero: " + jQuery.active ); }); -} - -//} +}
\ No newline at end of file |