Skip to content

Commit e621e2f

Browse files
committed
more fixes
1 parent 6f14000 commit e621e2f

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

src/test/integration/credentials.test.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,16 @@ describe('[Credentials Flow] - Should run a complete node flow.', () => {
137137

138138
config = await getConfiguration(true) // Force reload the configuration
139139
const database = await Database.init(config.dbConfig)
140-
oceanNode = OceanNode.getInstance(config, database)
140+
oceanNode = OceanNode.getInstance(
141+
config,
142+
database,
143+
null,
144+
null,
145+
null,
146+
null,
147+
null,
148+
true
149+
)
141150
const indexer = new OceanIndexer(database, config, oceanNode.blockchainRegistry)
142151
oceanNode.addIndexer(indexer)
143152
await oceanNode.addC2DEngines()

src/test/integration/encryptDecryptDDO.test.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,17 @@ describe('Should encrypt and decrypt DDO', () => {
108108
)
109109
const config = await getConfiguration()
110110
database = await Database.init(config.dbConfig)
111-
oceanNode = OceanNode.getInstance(config, database)
111+
oceanNode = OceanNode.getInstance(
112+
config,
113+
database,
114+
null,
115+
null,
116+
null,
117+
null,
118+
null,
119+
true
120+
)
121+
112122
// will be used later
113123
indexer = new OceanIndexer(database, config, oceanNode.blockchainRegistry)
114124
oceanNode.addIndexer(indexer)

0 commit comments

Comments
 (0)