diff --git a/client/src/components/DataFiles/DataFilesToolbar/DataFilesToolbar.test.js b/client/src/components/DataFiles/DataFilesToolbar/DataFilesToolbar.test.js index ccd0589e0..794e712d5 100644 --- a/client/src/components/DataFiles/DataFilesToolbar/DataFilesToolbar.test.js +++ b/client/src/components/DataFiles/DataFilesToolbar/DataFilesToolbar.test.js @@ -50,6 +50,8 @@ describe('DataFilesToolbar', () => { }, listing: { selected: { FilesListing: [] } }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() ); @@ -82,6 +84,8 @@ describe('DataFilesToolbar', () => { }, listing: { selected: { FilesListing: [] } }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() ); @@ -114,6 +118,8 @@ describe('DataFilesToolbar', () => { }, listing: { selected: { FilesListing: [] } }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() ); @@ -146,6 +152,8 @@ describe('DataFilesToolbar', () => { }, listing: { selected: { FilesListing: [] } }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() ); @@ -187,6 +195,8 @@ describe('DataFilesToolbar', () => { operationStatus: { trash: false }, }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() ); @@ -218,6 +228,8 @@ describe('DataFilesToolbar', () => { }, //listing: { } }, systems: systemsFixture, + projects: {metadata: []}, + authenticatedUser: {user: {username: 'testuser' }}, }), createMemoryHistory() );