Skip to content

Commit

Permalink
Removed unused parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenaas committed Oct 26, 2023
1 parent 9f1b468 commit 0092b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api/unit/services/S3SiteRemover.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -48,7 +48,7 @@ describe('S3SiteRemover', () => {
beforeEach(() => {
s3Mock.reset();
s3Mock.on(HeadBucketCommand).resolves({});
createServiceNocks(s3ServiceName, s3ServiceGuid, awsBucketName);
createServiceNocks(s3ServiceName, s3ServiceGuid);
});

afterEach(() => nock.cleanAll());
Expand Down

0 comments on commit 0092b77

Please sign in to comment.