diff --git a/tests/features/permissions.spec.ts b/tests/features/permissions.spec.ts index de057639d..5b4146b49 100644 --- a/tests/features/permissions.spec.ts +++ b/tests/features/permissions.spec.ts @@ -10,6 +10,7 @@ import chai, { expect } from 'chai'; import { DataStream } from '../../src/utils/data-stream.js'; import { Dwn } from '../../src/dwn.js'; import { Jws } from '../../src/utils/jws.js'; +import { PermissionGrant } from '../../src/protocols/permission-grant.js'; import { PermissionsProtocol } from '../../src/protocols/permissions.js'; import { RecordsRead } from '../../src/interfaces/records-read.js'; import { TestDataGenerator } from '../utils/test-data-generator.js'; @@ -17,7 +18,6 @@ import { TestEventStream } from '../test-event-stream.js'; import { TestStores } from '../test-stores.js'; import { DidKey, UniversalResolver } from '@web5/dids'; import { DwnErrorCode, DwnInterfaceName, DwnMethodName, Encoder, RecordsQuery, RecordsWrite, Time } from '../../src/index.js'; -import { PermissionGrant } from '../../src/protocols/permission-grant.js'; chai.use(chaiAsPromised); @@ -226,7 +226,7 @@ export function testPermissions(): void { }); const grant = await PermissionGrant.parse(dataEncodedMessage); - + // check parse grant properties expect(grant.id).to.equal(dataEncodedMessage.recordId); expect(grant.grantor).to.equal(alice.did);