Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Kralik committed Sep 21, 2023
1 parent 89f2a6b commit cf34359
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api-tests/tests/backup-storages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ test('create backup storage failures', async ({ request }) => {
},
errorText: '\'url\' is an invalid URL',
},
{
payload: {
type: 'azure',
name: 'invalid',
region: 'us-east-2',
bucketName: 'invalid',
accessKey: 'ssdssd',
secretKey: 'ssdssdssdssd',
},
errorText: 'Could not connect to the backup storage, please check the new credentials are correct',
},
];

for (const testCase of testCases) {
Expand Down

0 comments on commit cf34359

Please sign in to comment.