diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 2d0cbe907..277b8f39f 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -199,7 +199,7 @@ test("maxHeight", function() { el.remove(); el = $('
').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600); - drag('.ui-resizable-n', -1000, -1000); + drag('.ui-resizable-s', 1000, 1000); equals(heightAfter, 600, "maxHeight"); el.remove(); });