Tabs: Remove test for Ajax URLs containing hashes

This hasn't been a problem for a long time and jQuery no longer removes
the hash in 3.0.0, so the test started to fail even though the actual
code is working just fine.

Ref #3627
Ref jquery/jquery#1732
This commit is contained in:
Scott González 2016-07-06 13:09:15 -04:00
parent 71b93ed247
commit 9d807ba109

View File

@ -647,18 +647,6 @@ QUnit.test( "keyboard support - CTRL+UP, ALT+PAGE_DOWN, ALT+PAGE_UP", function(
setTimeout( step1 );
} );
QUnit.test( "#3627 - Ajax tab with url containing a fragment identifier fails to load", function( assert ) {
assert.expect( 1 );
$( "#tabs2" ).tabs( {
active: 2,
beforeLoad: function( event, ui ) {
event.preventDefault();
assert.ok( /test.html$/.test( ui.ajaxSettings.url ), "should ignore fragment identifier" );
}
} );
} );
QUnit.test( "#4033 - IE expands hash to full url and misinterprets tab as ajax", function( assert ) {
assert.expect( 2 );