Fix existing test failures

This commit is contained in:
mabashian
2019-04-23 14:55:06 -04:00
parent 38bb4f3f3c
commit f57876b6d9
8 changed files with 73 additions and 13 deletions

View File

@@ -3,7 +3,11 @@ import { mountWithContexts } from '../../../../enzymeHelpers';
import Organization from '../../../../../src/pages/Organizations/screens/Organization/Organization';
describe('<OrganizationView />', () => {
const me = {
is_super_user: true,
is_system_auditor: false
};
test('initially renders succesfully', () => {
mountWithContexts(<Organization />);
mountWithContexts(<Organization me={me} />);
});
});