Skip to content

Commit 1ff578d

Browse files
Refactor out a duplicate test (#353)
This test was a duplicate of line 65 in the same file: 'Accepts credentials as an argument'
1 parent ee29c57 commit 1ff578d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/provisioning/account_spec.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ describe('account API - Provisioning', function () {
6060
expect(delGroupRes.ok).to.eql(true); // notice the different response structure
6161
});
6262

63-
it('Accepts auth when a new instance of cloudinary is created', async () => {
64-
let NEW_NAME = 'This wont be created';
65-
let options = {
66-
provisioning_api_key: 'abc',
67-
provisioning_api_secret: 'abc',
68-
};
69-
70-
await cloudinary.provisioning.account.create_sub_account(CLOUD_ID, NEW_NAME, {}, null, null, options).catch((errRes) => {
71-
expect(errRes.error.http_code).to.eql(401);
72-
});
73-
});
74-
7563
it('Accepts credentials as an argument', async () => {
7664
let NEW_NAME = 'This wont be created';
7765
let options = {

0 commit comments

Comments
 (0)