DEV: prevents badges tests to log 404 (#13859)
This commit is contained in:
parent
cdeaddbbb6
commit
8ded33c411
|
@ -67,9 +67,7 @@ acceptance("Admin - Badges - Show", function (needs) {
|
|||
assert.ok(!exists(".icon-picker"), "icon picker is not visible");
|
||||
assert.ok(exists(".image-uploader"), "image uploader is visible");
|
||||
assert.ok(
|
||||
query(".image-uploader a.lightbox").href.endsWith(
|
||||
"/assets/some-image.png"
|
||||
),
|
||||
query(".image-uploader a.lightbox").href.endsWith("/images/avatar.png?2"),
|
||||
"image uploader shows the right image"
|
||||
);
|
||||
});
|
||||
|
@ -87,9 +85,7 @@ acceptance("Admin - Badges - Show", function (needs) {
|
|||
assert.ok(!exists(".icon-picker"), "icon picker is not visible");
|
||||
assert.ok(exists(".image-uploader"), "image uploader is visible");
|
||||
assert.ok(
|
||||
query(".image-uploader a.lightbox").href.endsWith(
|
||||
"/assets/some-image.png"
|
||||
),
|
||||
query(".image-uploader a.lightbox").href.endsWith("/images/avatar.png?3"),
|
||||
"image uploader shows the right image"
|
||||
);
|
||||
|
||||
|
|
|
@ -1719,13 +1719,13 @@ export default {
|
|||
{
|
||||
id: 2,
|
||||
name: "Only image",
|
||||
image_url: "/assets/some-image.png",
|
||||
image_url: "/images/avatar.png?2",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "Both image and icon",
|
||||
icon: "fa-rocket",
|
||||
image_url: "/assets/some-image.png",
|
||||
image_url: "/images/avatar.png?3",
|
||||
multiple_grant: true,
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue