From 1122b266959051a24f9d29b623b4c8968ad603a0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 7 May 2022 13:37:24 -0500 Subject: [PATCH] Fix avatar test --- app/soapbox/components/__tests__/avatar.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/__tests__/avatar.test.js b/app/soapbox/components/__tests__/avatar.test.js index 6b50083ed..55abca520 100644 --- a/app/soapbox/components/__tests__/avatar.test.js +++ b/app/soapbox/components/__tests__/avatar.test.js @@ -1,11 +1,12 @@ -import { fromJS } from 'immutable'; import React from 'react'; +import { normalizeAccount } from 'soapbox/normalizers'; + import { render, screen } from '../../jest/test-helpers'; import Avatar from '../avatar'; describe('', () => { - const account = fromJS({ + const account = normalizeAccount({ username: 'alice', acct: 'alice', display_name: 'Alice',