Skip to content

Commit

Permalink
Added missing language prop into footer content test
Browse files Browse the repository at this point in the history
  • Loading branch information
SanttuA committed Feb 13, 2024
1 parent 90fbd6b commit 97f9203
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/shared/footer/FooterContent.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import { shallowWithIntl } from 'utils/testUtils';
import FooterContent from './FooterContent';

describe('shared/footer/FooterContent', () => {
const defaultProps = {
currentLang: 'fi',
};

function getWrapper(props) {
return shallowWithIntl(<FooterContent {...props} />);
return shallowWithIntl(<FooterContent {...defaultProps} {...props} />);
}

describe('When there is no customization in use', () => {
Expand Down

0 comments on commit 97f9203

Please sign in to comment.