Skip to content

Commit

Permalink
Updated test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Dec 7, 2024
1 parent c0998cd commit b0768f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/integration/indexer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import { getConfiguration } from '../../utils/config.js'
import { OceanNodeConfig } from '../../@types/OceanNode.js'
import { encrypt } from '../../utils/crypt.js'
import { EncryptMethod } from '../../@types/fileObject.js'
import { deleteIndexedMetadataIfExists } from '../../utils/asset.js'

describe('Indexer stores a new metadata events and orders.', () => {
let database: Database
Expand Down Expand Up @@ -288,6 +289,7 @@ describe('Indexer stores a new metadata events and orders.', () => {
resolvedDDO.metadata.name = 'dataset-name-updated'
resolvedDDO.metadata.description =
'Updated description for the Ocean protocol test dataset'
resolvedDDO = deleteIndexedMetadataIfExists(resolvedDDO)
const stringDDO = JSON.stringify(resolvedDDO)
const bytes = Buffer.from(stringDDO)
const metadata = hexlify(bytes)
Expand Down

0 comments on commit b0768f0

Please sign in to comment.