Skip to content

Commit cf7dc08

Browse files
committed
Tests: Correct all 404 errors in the test suite
1 parent ff47763 commit cf7dc08

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tests/unit/datepicker/datepicker_methods.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test("destroy", function() {
3939
ok(inp.next().is("#alt"), "Append - append text removed");
4040
// With both
4141
inp= TestHelpers.datepicker.init("#inp", {showOn: "both", buttonImageOnly: true,
42-
buttonImage: "img/calendar.gif", appendText: "Testing"});
42+
buttonImage: "images/calendar.gif", appendText: "Testing"});
4343
ok(inp.is(".hasDatepicker"), "Both - marker class set");
4444
ok($.data(inp[0], TestHelpers.datepicker.PROP_NAME), "Both - instance present");
4545
ok(inp.next()[0].nodeName.toLowerCase() === "img", "Both - button added");
@@ -92,7 +92,7 @@ test("enableDisable", function() {
9292
inp.datepicker("destroy");
9393
// With an image button
9494
inp = TestHelpers.datepicker.init("#inp", {showOn: "button", buttonImageOnly: true,
95-
buttonImage: "img/calendar.gif"});
95+
buttonImage: "images/calendar.gif"});
9696
ok(!inp.datepicker("isDisabled"), "Enable/disable image - initially marked as enabled");
9797
ok(!inp[0].disabled, "Enable/disable image - field initially enabled");
9898
ok(parseFloat(inp.next("img").css("opacity")) === 1, "Enable/disable image - image initially enabled");

tests/unit/datepicker/datepicker_options.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ asyncTest("invocation", function() {
145145
function step3() {
146146
// On image button
147147
inp = TestHelpers.datepicker.init("#inp", {showOn: "button", buttonImageOnly: true,
148-
buttonImage: "img/calendar.gif", buttonText: "Cal"});
148+
buttonImage: "images/calendar.gif", buttonText: "Cal"});
149149
ok(!dp.is(":visible"), "Image button - initially hidden");
150150
button = inp.siblings("button");
151151
ok(button.length === 0, "Image button - button absent");
152152
image = inp.siblings("img");
153153
ok(image.length === 1, "Image button - image present");
154-
equal(image.attr("src"), "img/calendar.gif", "Image button - image source");
154+
equal(image.attr("src"), "images/calendar.gif", "Image button - image source");
155155
equal(image.attr("title"), "Cal", "Image button - image text");
156156
inp[0].focus();
157157
setTimeout(function() {
@@ -168,7 +168,7 @@ asyncTest("invocation", function() {
168168

169169
function step4() {
170170
// On both
171-
inp = TestHelpers.datepicker.init("#inp", {showOn: "both", buttonImage: "img/calendar.gif"});
171+
inp = TestHelpers.datepicker.init("#inp", {showOn: "both", buttonImage: "images/calendar.gif"});
172172
ok(!dp.is(":visible"), "Both - initially hidden");
173173
button = inp.siblings("button");
174174
ok(button.length === 1, "Both - button present");
269 Bytes
Loading

tests/unit/sortable/sortable.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script src="../testsuite.js"></script>
1212
<script>
1313
TestHelpers.loadResources({
14-
css: [ "ui.core", "ui.sortable" ],
14+
css: [ "ui.core" ],
1515
js: [
1616
"ui/jquery.ui.core.js",
1717
"ui/jquery.ui.widget.js",

0 commit comments

Comments
 (0)