diff --git a/src/pda/PDA.ts b/src/pda.ts similarity index 100% rename from src/pda/PDA.ts rename to src/pda.ts diff --git a/test/pda.test.ts b/test/pda.test.ts index a4c6861..bb09a07 100644 --- a/test/pda.test.ts +++ b/test/pda.test.ts @@ -30,23 +30,15 @@ describe('PDA TESTING', () => { }, }; const { createPDA } = await api.pda.createPDA(obj); - expect(createPDA.dataAsset?.title).toEqual('test'); + const { changePDAStatus } = await api.pda.changePDAStatus({ + id: createPDA.id, + status: PDAStatus.Suspended, + }); + expect(changePDAStatus.status).toEqual(PDAStatus.Suspended); }, DEFAULT_TIMEOUT, ); - // it( - // 'change pda status', - // async () => { - // const { changePDAStatus } = await api.pda.changePDAStatus({ - // id: '6bc1a11f-f91d-4361-9a22-5df8d1bf4dc8', - // status: PDAStatus.Valid, - // }); - // expect(changePDAStatus.status).toEqual(PDAStatus.Valid); - // }, - // DEFAULT_TIMEOUT, - // ); - it( 'get single pda', async () => {