diff options
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/tests/UI/UserCountry_spec.js | 4 | ||||
-rw-r--r-- | plugins/UserCountry/tests/UI/expected-screenshots/UserCountry_admin_geoip2.png | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/UserCountry/tests/UI/UserCountry_spec.js b/plugins/UserCountry/tests/UI/UserCountry_spec.js index 140b152ddf..16c72379db 100644 --- a/plugins/UserCountry/tests/UI/UserCountry_spec.js +++ b/plugins/UserCountry/tests/UI/UserCountry_spec.js @@ -29,6 +29,10 @@ describe("UserCountry", function () { await page.goto("?module=UserCountry&action=adminIndex"); + await page.evaluate(function(){ + $('#geoipdb-update-info').html($('#geoipdb-update-info').html().replace(/dbip-city-lite-[\d]{4}-[\d]{2}\.mmdb\.gz</, 'dbip-city-lite-2020-04.mmdb.gz<')); + }); + expect(await page.screenshotSelector('#content')).to.matchImage('admin_geoip2'); }); diff --git a/plugins/UserCountry/tests/UI/expected-screenshots/UserCountry_admin_geoip2.png b/plugins/UserCountry/tests/UI/expected-screenshots/UserCountry_admin_geoip2.png index 277fbfecab..ba1c0a1819 100644 --- a/plugins/UserCountry/tests/UI/expected-screenshots/UserCountry_admin_geoip2.png +++ b/plugins/UserCountry/tests/UI/expected-screenshots/UserCountry_admin_geoip2.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:395f247d7b4d17452e4824ce2f612f24b94ac8210371ce81968196eed1d8c250 -size 247170 +oid sha256:99523d8e678ec43742479bf9b9acde632540cd3819d87932b16b1c29cdf6d808 +size 247194 |