2023-05-02 01:37:19 -07:00
|
|
|
import type { IDataObject } from 'n8n-workflow';
|
2023-04-11 02:58:47 -07:00
|
|
|
|
|
|
|
// If your test needs data from credentials, you can add it here.
|
|
|
|
// as JSON.stringify({ id: 'credentials_ID', name: 'credentials_name' }) for specific credentials
|
|
|
|
// or as 'credentials_type' for all credentials of that type
|
|
|
|
// expected keys for credentials can be found in packages/nodes-base/credentials/[credentials_type].credentials.ts
|
|
|
|
export const FAKE_CREDENTIALS_DATA: IDataObject = {
|
|
|
|
[JSON.stringify({ id: '20', name: 'Airtable account' })]: {
|
|
|
|
apiKey: 'key456',
|
|
|
|
},
|
|
|
|
airtableApi: {
|
|
|
|
apiKey: 'key123',
|
|
|
|
},
|
|
|
|
n8nApi: {
|
|
|
|
apiKey: 'key123',
|
|
|
|
baseUrl: 'https://test.app.n8n.cloud/api/v1',
|
|
|
|
},
|
|
|
|
totpApi: {
|
|
|
|
label: 'GitHub:john-doe',
|
|
|
|
secret: 'BVDRSBXQB2ZEL5HE',
|
|
|
|
},
|
2023-05-02 08:29:07 -07:00
|
|
|
aws: {
|
|
|
|
region: 'eu-central-1',
|
|
|
|
accessKeyId: 'key',
|
|
|
|
secretAccessKey: 'secret',
|
|
|
|
},
|
2023-04-11 02:58:47 -07:00
|
|
|
};
|