diff --git a/src/browser/modules/User/UserAdd.test.js b/src/browser/modules/User/UserAdd.test.js index 11fbc5d099f..26ec3f4783b 100644 --- a/src/browser/modules/User/UserAdd.test.js +++ b/src/browser/modules/User/UserAdd.test.js @@ -23,7 +23,7 @@ import React from 'react' import { createBus } from 'suber' import { UserAdd } from './UserAdd' -import { CYPHER_REQUEST } from 'shared/modules/cypher/cypherDuck' +import { ROUTED_CYPHER_REQUEST } from 'shared/modules/cypher/cypherDuck' import { listRolesQuery } from 'shared/modules/cypher/boltUserHelper' // Stubbing out title bar as it depends on store @@ -41,7 +41,7 @@ describe('', () => { } const busCallback = jest.fn() - bus.one(CYPHER_REQUEST, busCallback) + bus.one(ROUTED_CYPHER_REQUEST, busCallback) render() diff --git a/src/browser/modules/User/UserList.test.js b/src/browser/modules/User/UserList.test.js index 9902ed41802..ea90ff0db0b 100644 --- a/src/browser/modules/User/UserList.test.js +++ b/src/browser/modules/User/UserList.test.js @@ -23,7 +23,7 @@ import React from 'react' import { createBus } from 'suber' import { UserList } from './UserList' -import { CYPHER_REQUEST } from 'shared/modules/cypher/cypherDuck' +import { ROUTED_CYPHER_REQUEST } from 'shared/modules/cypher/cypherDuck' import { listRolesQuery, listUsersQuery @@ -44,7 +44,7 @@ describe('', () => { } const busCallback = jest.fn() - bus.take(CYPHER_REQUEST, busCallback) + bus.take(ROUTED_CYPHER_REQUEST, busCallback) render() @@ -68,7 +68,7 @@ describe('', () => { } const busCallback = jest.fn() - bus.take(CYPHER_REQUEST, busCallback) + bus.take(ROUTED_CYPHER_REQUEST, busCallback) render()