Skip to content

Commit 2365d03

Browse files
committed
Dialog: Fixed a broken maxHeight test.
The size tests are fragile because they require the browser window to be large enough to contain the dialog.
1 parent de02aa3 commit 2365d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/dialog/dialog_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test("maxHeight", function() {
199199
el.remove();
200200

201201
el = $('<div></div>').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600);
202-
drag('.ui-resizable-n', -1000, -1000);
202+
drag('.ui-resizable-s', 1000, 1000);
203203
equals(heightAfter, 600, "maxHeight");
204204
el.remove();
205205
});

0 commit comments

Comments
 (0)