Skip to content

Commit

Permalink
Fix SinchClient parameters for mailgun initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Nov 14, 2024
1 parent 29b5f9e commit 24672db
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/mailgun/tests/rest/v1/emails/emails-api.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SinchClientParameters } from '@sinch/sdk-client';
import { MailgunCredentials } from '@sinch/sdk-client';
import { EmailsApi, EmailsApiFixture } from '../../../../src';
import {
sendEmailRequestWithHtml,
Expand All @@ -14,14 +14,12 @@ import {
describe('EmailsApi', () => {
let emailsApi: EmailsApi;
let fixture: EmailsApiFixture;
let credentials: SinchClientParameters;
let credentials: MailgunCredentials;

beforeEach(() => {
fixture = new EmailsApiFixture();
credentials = {
projectId: 'PROJECT_ID',
keyId: 'KEY_ID',
keySecret: 'KEY_SECRET',
mailgunApiKey: 'API_KEY',
};
emailsApi = new EmailsApi(credentials);
});
Expand Down

0 comments on commit 24672db

Please sign in to comment.