@@ -4,7 +4,7 @@ import { DhtAddress, NodeType, randomDhtAddress, toDhtAddress, toDhtAddressRaw }
4
4
import StreamrClient , { NetworkNodeType , PeerDescriptor , StreamID , StreamPermission , StreamrClientConfig } from '@streamr/sdk'
5
5
import { NetworkNode , createNetworkNode } from '@streamr/trackerless-network'
6
6
import { StreamPartID , collect , setAbortableInterval , toStreamPartID , until } from '@streamr/utils'
7
- import { fetchPrivateKeyWithGas } from '@streamr/test-utils'
7
+ import { createTestPrivateKey } from '@streamr/test-utils'
8
8
import { sample , uniq , without } from 'lodash'
9
9
import Container from 'typedi'
10
10
import { CONFIG_TOKEN } from '../src/Config'
@@ -207,8 +207,8 @@ describe('end-to-end', () => {
207
207
await dropTestDatabaseIfExists ( config . database )
208
208
await createDatabase ( config . database )
209
209
Container . set ( CONFIG_TOKEN , config )
210
- publisher = createClient ( await fetchPrivateKeyWithGas ( ) , entryPoint . getPeerDescriptor ( ) )
211
- subscriber = createClient ( await fetchPrivateKeyWithGas ( ) , entryPoint . getPeerDescriptor ( ) )
210
+ publisher = createClient ( await createTestPrivateKey ( ) , entryPoint . getPeerDescriptor ( ) )
211
+ subscriber = createClient ( await createTestPrivateKey ( ) , entryPoint . getPeerDescriptor ( ) )
212
212
const server = Container . get ( APIServer )
213
213
await server . start ( )
214
214
apiPort = Container . get ( APIServer ) . getPort ( )
0 commit comments