diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-02-11 04:19:17 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-02-11 04:19:17 +0000 |
| commit | e1e9e50b981fe6507886cae26603e4fcf9b5af75 (patch) | |
| tree | a3432858e377093f11236d1c6400b867855c76f0 /test/unit/specs/services/entity_normalizer | |
| parent | 4bea3c525f377a45919893ae0a474859b5744820 (diff) | |
| parent | be77707381609e555c565f6ba187318562e57dcf (diff) | |
Merge branch 'fix/hashtag-opening' into 'develop'
Open hashtag in same tab
See merge request pleroma/pleroma-fe!540
Diffstat (limited to 'test/unit/specs/services/entity_normalizer')
| -rw-r--r-- | test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js | 4 |
1 files changed, 2 insertions, 2 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 703fecf1..6245361c 100644 --- a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js +++ b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js @@ -241,7 +241,7 @@ describe('API Entities normalizer', () => { notice: makeMockStatusQvitter({ id: 444 }), from_profile: makeMockUserQvitter({ id: 'spurdo' }) }) - expect(parseNotification(notif)).to.have.property('id', '123') + expect(parseNotification(notif)).to.have.property('id', 123) expect(parseNotification(notif)).to.have.property('seen', false) expect(parseNotification(notif)).to.have.deep.property('status.id', '444') expect(parseNotification(notif)).to.have.deep.property('action.id', '444') @@ -259,7 +259,7 @@ describe('API Entities normalizer', () => { is_seen: 1, from_profile: makeMockUserQvitter({ id: 'spurdo' }) }) - expect(parseNotification(notif)).to.have.property('id', '123') + expect(parseNotification(notif)).to.have.property('id', 123) expect(parseNotification(notif)).to.have.property('type', 'like') expect(parseNotification(notif)).to.have.property('seen', true) expect(parseNotification(notif)).to.have.deep.property('status.id', '4412') |
