mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FIX: Fewer 404s in JS tests
This commit is contained in:
parent
4656812e00
commit
e1bc709dc3
|
@ -59,7 +59,7 @@ componentTest("without image", {
|
|||
});
|
||||
|
||||
componentTest("with placeholder", {
|
||||
template: "{{image-uploader placeholderUrl='/some/image.png'}}",
|
||||
template: "{{image-uploader placeholderUrl='/images/avatar.png'}}",
|
||||
|
||||
test(assert) {
|
||||
assert.equal(
|
||||
|
|
|
@ -9,7 +9,7 @@ export default {
|
|||
category: "required",
|
||||
preview: null,
|
||||
secret: false,
|
||||
type: "string",
|
||||
type: "string"
|
||||
},
|
||||
{
|
||||
setting: "contact_email",
|
||||
|
@ -20,7 +20,7 @@ export default {
|
|||
category: "required",
|
||||
preview: null,
|
||||
secret: false,
|
||||
type: "email",
|
||||
type: "email"
|
||||
},
|
||||
{
|
||||
setting: "site_contact_username",
|
||||
|
@ -31,17 +31,17 @@ export default {
|
|||
category: "required",
|
||||
preview: null,
|
||||
secret: false,
|
||||
type: "username",
|
||||
type: "username"
|
||||
},
|
||||
{
|
||||
setting: "logo",
|
||||
description: "Some logo",
|
||||
default: "",
|
||||
value: "/some/image",
|
||||
value: "/images/avatar.png",
|
||||
category: "required",
|
||||
preview: null,
|
||||
secret: false,
|
||||
type: "upload",
|
||||
type: "upload"
|
||||
},
|
||||
{
|
||||
setting: "top_menu",
|
||||
|
@ -61,24 +61,24 @@ export default {
|
|||
"categories",
|
||||
"read",
|
||||
"posted",
|
||||
"bookmarks",
|
||||
"bookmarks"
|
||||
],
|
||||
list_type: "compact",
|
||||
list_type: "compact"
|
||||
},
|
||||
{
|
||||
setting: "plugin_logo",
|
||||
description: "Some plugin logo",
|
||||
default: "",
|
||||
value: "/some/image",
|
||||
value: "/images/avatar.png",
|
||||
category: "required",
|
||||
preview: null,
|
||||
secret: false,
|
||||
type: "upload",
|
||||
plugin: "discourse-logo",
|
||||
},
|
||||
plugin: "discourse-logo"
|
||||
}
|
||||
],
|
||||
diags: {
|
||||
last_message_processed: null,
|
||||
},
|
||||
},
|
||||
last_message_processed: null
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user