DEV: prevents badges tests to log 404 (#13859)

DEV: prevents badges tests to log 404 (#13859)

diff --git a/app/assets/javascripts/discourse/tests/acceptance/admin-badges-show-test.js b/app/assets/javascripts/discourse/tests/acceptance/admin-badges-show-test.js
index 8670f9a..e0a52b1 100644
--- a/app/assets/javascripts/discourse/tests/acceptance/admin-badges-show-test.js
+++ b/app/assets/javascripts/discourse/tests/acceptance/admin-badges-show-test.js
@@ -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"
     );
 
diff --git a/app/assets/javascripts/discourse/tests/fixtures/badges-fixture.js b/app/assets/javascripts/discourse/tests/fixtures/badges-fixture.js
index bc65306..1da5bc8 100644
--- a/app/assets/javascripts/discourse/tests/fixtures/badges-fixture.js
+++ b/app/assets/javascripts/discourse/tests/fixtures/badges-fixture.js
@@ -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,
       },
     ]

GitHub sha: 8ded33c4117a3a051f0c59785890c2fb62cc775e

This commit appears in #13859 which was approved by CvX. It was merged by jjaffeux.