From ad5ce6dba4a793f00b15db29f51865913eb1f912 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Mon, 20 Mar 2023 14:02:31 +0900 Subject: [PATCH] Fix maxmind tests --- backend/src/__tests__/config.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/__tests__/config.test.ts b/backend/src/__tests__/config.test.ts index 72533829b..8b7ebc9ce 100644 --- a/backend/src/__tests__/config.test.ts +++ b/backend/src/__tests__/config.test.ts @@ -108,10 +108,10 @@ describe('Mempool Backend Config', () => { }); expect(config.MAXMIND).toStrictEqual({ - ENABLED: true, - GEOLITE2_CITY: './backend/GeoIP/GeoLite2-City.mmdb', - GEOLITE2_ASN: './backend/GeoIP/GeoLite2-ASN.mmdb', - GEOIP2_ISP: '' + ENABLED: false, + GEOLITE2_CITY: '/usr/local/share/GeoIP/GeoLite2-City.mmdb', + GEOLITE2_ASN: '/usr/local/share/GeoIP/GeoLite2-ASN.mmdb', + GEOIP2_ISP: '/usr/local/share/GeoIP/GeoIP2-ISP.mmdb' }); }); });