From d07e30d7fbd0a470f5286628eab1f4fcc48dcc15 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 20 Dec 2021 18:29:18 +0100 Subject: [PATCH] fix(core): update --- test/test.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/test.ts b/test/test.ts index 28ea10b..97db481 100644 --- a/test/test.ts +++ b/test/test.ts @@ -15,13 +15,7 @@ tap.test('should create a smarts3 instance and run it', async toolsArg => { }); tap.test('should be able to access buckets', async () => { - const smartbucketInstance = new plugins.smartbucket.SmartBucket({ - endpoint: 'localhost', - port: 3000, - useSsl: false, - accessKey: 'S3RVER', - accessSecret: 'S3RVER' - }); + const smartbucketInstance = new plugins.smartbucket.SmartBucket(await testSmarts3Instance.getS3Descriptor()); const bucket = await smartbucketInstance.createBucket('testbucket'); const baseDirectory = await bucket.getBaseDirectory(); await baseDirectory.fastStore('subdir/hello.txt', 'hi there!');