diff --git a/app/soapbox/components/__tests__/__snapshots__/display_name-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/display_name-test.js.snap
index 59789099f..d26a406a2 100644
--- a/app/soapbox/components/__tests__/__snapshots__/display_name-test.js.snap
+++ b/app/soapbox/components/__tests__/__snapshots__/display_name-test.js.snap
@@ -4,16 +4,22 @@ exports[` renders display name + account name 1`] = `
-
- Foo
",
+
+
+ Foo",
+ }
}
- }
- />
-
+ />
+
+
diff --git a/app/soapbox/components/__tests__/display_name-test.js b/app/soapbox/components/__tests__/display_name-test.js
index 0d040c4cd..f626f94ca 100644
--- a/app/soapbox/components/__tests__/display_name-test.js
+++ b/app/soapbox/components/__tests__/display_name-test.js
@@ -1,7 +1,7 @@
import React from 'react';
-import renderer from 'react-test-renderer';
import { fromJS } from 'immutable';
import DisplayName from '../display_name';
+import { createComponent } from 'soapbox/test_helpers';
describe('', () => {
it('renders display name + account name', () => {
@@ -10,7 +10,7 @@ describe('', () => {
acct: 'bar@baz',
display_name_html: 'Foo
',
});
- const component = renderer.create();
+ const component = createComponent();
const tree = component.toJSON();
expect(tree).toMatchSnapshot();