test: fix storage test

This commit is contained in:
Girish Ramakrishnan
2025-06-06 08:34:21 +02:00
parent c6ae7729d1
commit 0969bb9824
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 () {
+1 -1
View File
@@ -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: [{