Skip to content

Commit

Permalink
fix key mismatch 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAkhmetov committed Jul 13, 2023
1 parent ba747f4 commit 33c5616
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const preprintPublicationHit = {

const peerReviewedPublicationHit = {
_source: {
uuid: 'abc234',
uuid: 'def234',
title: 'Publication DEF',
contributors: [professorOak],
publication_status: true,
Expand Down Expand Up @@ -87,8 +87,8 @@ describe('buildPublicationsPanelProps', () => {
});
test('should return the props required for the panel list of a peer reviewed paper', () => {
expect(buildPublicationPanelProps(peerReviewedPublicationHit)).toEqual({
key: 'abc123',
href: '/browse/publication/abc234',
key: 'def234',
href: '/browse/publication/def234',
title: 'Publication DEF',
secondaryText: 'Professor Oak | Pallet Town Times',
rightText: 'Published: 2022-03-02',
Expand Down

0 comments on commit 33c5616

Please sign in to comment.