File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
packages/backend/src/graphql/__tests__/mutations Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { generateMockContext } from './tiles/table.mock'
1717import { generateMockUser } from './flow.mock'
1818import { mockConnectionsRelatedQuery } from './related-query-mock'
1919import {
20+ createMockWithAccessibleConnections ,
2021 createMockWithAccessibleFlowConnections ,
2122 createMockWithAccessibleSteps ,
2223 setAssertNotUpdatedSinceSpy ,
@@ -126,6 +127,12 @@ describe('updateStep mutation', () => {
126127 connectionId : mockConnectionId ,
127128 } )
128129
130+ context . currentUser . withAccessibleConnections =
131+ createMockWithAccessibleConnections ( {
132+ connectionKey : 'postman' ,
133+ connectionId : mockConnectionId ,
134+ } )
135+
129136 mockConnectionsRelatedQuery ( context . currentUser , {
130137 connectionKey : 'postman' ,
131138 connectionId : mockConnectionId ,
You can’t perform that action at this time.
0 commit comments