diff --git a/test/api/unit/services/S3SiteRemover.test.js b/test/api/unit/services/S3SiteRemover.test.js index 69762fab0..bebb13eaa 100644 --- a/test/api/unit/services/S3SiteRemover.test.js +++ b/test/api/unit/services/S3SiteRemover.test.js @@ -17,7 +17,7 @@ const s3ServiceName = 'federalist-dev-s3'; const s3ServiceGuid = 'site-service-guid'; const awsBucketName = 'site-bucket-name'; -function createServiceNocks(serviceName, guid, bucketName) { +function createServiceNocks(serviceName, guid) { const serviceInstanceResponse = factory.createCFAPIResource({ guid, name: serviceName, @@ -48,7 +48,7 @@ describe('S3SiteRemover', () => { beforeEach(() => { s3Mock.reset(); s3Mock.on(HeadBucketCommand).resolves({}); - createServiceNocks(s3ServiceName, s3ServiceGuid, awsBucketName); + createServiceNocks(s3ServiceName, s3ServiceGuid); }); afterEach(() => nock.cleanAll());