Skip to content

Commit

Permalink
userHelpers tests: Use NULL_USER.avatar_url.
Browse files Browse the repository at this point in the history
This will mean one less thing we have to change when we start using
the new format for `avatar_url` in an upcoming commit.
  • Loading branch information
chrisbobbe committed Jul 14, 2020
1 parent f9b4f37 commit b4bd321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/users/__tests__/userHelpers-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
groupUsersByStatus,
} from '../userHelpers';
import * as eg from '../../__tests__/lib/exampleData';
import { NULL_USER } from '../../nullObjects';

describe('filterUserList', () => {
test('empty input results in empty list', () => {
Expand Down Expand Up @@ -74,7 +75,7 @@ describe('getAutocompleteSuggestion', () => {
full_name: 'all',
email: '(Notify everyone)',
user_id: -1,
avatar_url: '',
avatar_url: NULL_USER.avatar_url,
timezone: '',
is_admin: false,
is_bot: false,
Expand Down

0 comments on commit b4bd321

Please sign in to comment.