diff --git a/src/test/apps-test.js b/src/test/apps-test.js index 1c27e7cc2..4c5f7a050 100644 --- a/src/test/apps-test.js +++ b/src/test/apps-test.js @@ -87,8 +87,8 @@ describe('Apps', function () { it('does not allow reserved ports', function () { expect(apps._validatePorts({ PORT: 443 }, { tcpPorts: { PORT: 5000 } })).to.be.an(Error); expect(apps._validatePorts({ PORT: 50000 }, { tcpPorts: { PORT: 5000 } })).to.be.an(Error); - expect(apps._validatePorts({ PORT: 51000 }, { tcpPorts: { PORT: 5000 } })).to.be.an(Error); expect(apps._validatePorts({ PORT: 50100 }, { tcpPorts: { PORT: 5000 } })).to.be.an(Error); + expect(apps._validatePorts({ PORT: 50050 }, { tcpPorts: { PORT: 5000 } })).to.be.an(Error); }); it('allows valid bindings', function () { diff --git a/src/test/storage-test.js b/src/test/storage-test.js index aad9710aa..528761dc7 100644 --- a/src/test/storage-test.js +++ b/src/test/storage-test.js @@ -225,7 +225,7 @@ describe('Storage', function () { expect(cfg.region).to.be(backupConfig.region); } - async listObjects(params) { + async listObjectsV2(params) { expect(params.Bucket).to.be(backupConfig.bucket); return { Contents: [{