diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2021-02-26 16:23:11 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2021-02-26 16:23:11 +0200 |
| commit | 09fe160e8b9fad7a8c70e44ae894d67211b993e1 (patch) | |
| tree | aecc0746a2845d21ebb13719ebbfe94f0f4ac81b /test/unit/specs/services | |
| parent | 59db4582b0617f354520886f23047083ec681d54 (diff) | |
separate screen_name and screen_name_ui with decoded punycode
Diffstat (limited to 'test/unit/specs/services')
| -rw-r--r-- | test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js index a3f49b2c..759539e0 100644 --- a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js +++ b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js @@ -315,7 +315,7 @@ describe('API Entities normalizer', () => { it('converts IDN to unicode and marks it as internatonal', () => { const user = makeMockUserMasto({ acct: 'lain@xn--lin-6cd.com' }) - expect(parseUser(user)).to.have.property('screen_name').that.equal('lain@🌏lаin.com') + expect(parseUser(user)).to.have.property('screen_name_ui').that.equal('lain@🌏lаin.com') }) }) |
