Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hbulens committed Apr 28, 2024
1 parent 7c8ab0b commit 483aa68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ describe('Connector', function () {
it('Should successfully create item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.create(item);
const results = await client.connectors.create(item);
});
});

describe('#updateConnector()', function () {
it('Should successfully update item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.update(item);
const results = await client.connectors.update(item);
});
});

describe('#deleteConnector()', function () {
it('Should successfully delete item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.delete(item);
const results = await client.connectors.delete(item);
});
});
});
6 changes: 3 additions & 3 deletions test/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ describe('Container', function () {
it('Should successfully create item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.create(item);
const results = await client.containers.create(item);
});
});

describe('#updateContainer()', function () {
it('Should successfully update item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.update(item);
const results = await client.containers.update(item);
});
});

describe('#deleteContainer()', function () {
it('Should successfully delete item', async () => {
const item = createItem();
const client = new DimeSchedulerClient(apiKey, Environment.Test);
const results = await client.actionUris.delete(item);
const results = await client.containers.delete(item);
});
});
});

0 comments on commit 483aa68

Please sign in to comment.