diff --git a/packages/functions/test-tangle/stamp-tangle/Helper.ts b/packages/functions/test-tangle/stamp-tangle/Helper.ts index 0601c1456..257b7aaf0 100644 --- a/packages/functions/test-tangle/stamp-tangle/Helper.ts +++ b/packages/functions/test-tangle/stamp-tangle/Helper.ts @@ -35,9 +35,11 @@ export class Helper { public beforeEach = async () => { const bucket = storage().bucket(Bucket.TEST); const destination = `nft/${getRandomEthAddress()}/image.jpeg`; - this.dowloadUrl = await bucket.upload('./test/puppy.jpeg', destination, { + await bucket.upload('./test/puppy.jpeg', destination, { contentType: 'image/jpeg', }); + this.dowloadUrl = `https://${bucket.getName()}/${destination}`; + this.request = { requestType: TangleRequestType.STAMP, uri: this.dowloadUrl }; const content = fs.readFileSync('./test/puppy.jpeg'); this.checksum = crypto diff --git a/packages/functions/test-tangle/stamp-tangle/stamp-tangle_1_a.spec.ts b/packages/functions/test-tangle/stamp-tangle/stamp-tangle_1_a.spec.ts index 433b7df5e..809d32f02 100644 --- a/packages/functions/test-tangle/stamp-tangle/stamp-tangle_1_a.spec.ts +++ b/packages/functions/test-tangle/stamp-tangle/stamp-tangle_1_a.spec.ts @@ -16,7 +16,7 @@ describe('Stamp tangle test', () => { beforeEach(helper.beforeEach); it('Should create and mint stamp', async () => { - const fiftyDayCost = 2124 * 50 + 54000 + 104500; + const fiftyDayCost = 2124 * 50 + 53700 + 92000; await helper.wallet!.send( helper.address,