From bee8e687a3e332203d31ad88a107f1ec9fa125aa Mon Sep 17 00:00:00 2001
From: "(quasar) nebula" <qznebula@protonmail.com>
Date: Wed, 29 Mar 2023 18:05:32 -0300
Subject: content: generateIconForURL -> linkExternalAsIcon

---
 test/unit/content/dependencies/generateContributionLinks.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'test/unit/content/dependencies')

diff --git a/test/unit/content/dependencies/generateContributionLinks.js b/test/unit/content/dependencies/generateContributionLinks.js
index 5ed8f782..a2f02ac7 100644
--- a/test/unit/content/dependencies/generateContributionLinks.js
+++ b/test/unit/content/dependencies/generateContributionLinks.js
@@ -48,13 +48,13 @@ t.test('generateContributionLinks (unit)', async t => {
             .repeat(3),
         },
 
-        generateIconForURL: {
-          data: mock.function('generateIconForURL.data', () => ({}))
+        linkExternalAsIcon: {
+          data: mock.function('linkExternalAsIcon.data', () => ({}))
             .args([artist1.urls[0]]).next()
             .args([artist3.urls[0]]).next()
             .args([artist3.urls[1]]),
 
-          generate: mock.function('generateIconForURL.generate', () => 'icon')
+          generate: mock.function('linkExternalAsIcon.generate', () => 'icon')
             .repeat(3),
         }
       })),
@@ -89,11 +89,11 @@ t.test('generateContributionLinks (unit)', async t => {
             .repeat(3),
         },
 
-        generateIconForURL: {
-          data: mock.function('generateIconForURL.data', () => ({}))
+        linkExternalAsIcon: {
+          data: mock.function('linkExternalAsIcon.data', () => ({}))
             .neverCalled(),
 
-          generate: mock.function('generateIconForURL.generate', () => 'icon')
+          generate: mock.function('linkExternalAsIcon.generate', () => 'icon')
             .neverCalled(),
         },
       })),
-- 
cgit 1.3.0-6-gf8a5