diff --git a/src/app/components/media/MediaOriginBanner.test.js b/src/app/components/media/MediaOriginBanner.test.js index 719b52704..564c194a0 100644 --- a/src/app/components/media/MediaOriginBanner.test.js +++ b/src/app/components/media/MediaOriginBanner.test.js @@ -19,19 +19,19 @@ describe('', () => { const userAdded = mountWithIntl(); expect(userAdded.find(PersonAdd).length).toEqual(1); - expect(userAdded.html()).toContain('This media was added to the cluster by'); + expect(userAdded.html()).toContain('This media was added to the cluster of media by'); const userMerged = mountWithIntl(); expect(userMerged.find(Person).length).toEqual(1); - expect(userMerged.html()).toContain('This media was merged to the cluster by'); + expect(userMerged.html()).toContain('his media was merged into this cluster of media by'); const userMatched = mountWithIntl(); expect(userMatched.find(PersonCheck).length).toEqual(1); - expect(userMatched.html()).toContain('This media was added to the cluster by'); + expect(userMatched.html()).toContain('This media was added to the cluster of media by'); const autoMatched = mountWithIntl(); expect(autoMatched.find(Bolt).length).toEqual(1); - expect(autoMatched.html()).toContain('This media was automatically matched to the cluster'); + expect(autoMatched.html()).toContain('This media was automatically matched to the cluster of media,'); }); it('should return null for invalid type', () => {