Skip to content

Commit 35d8ef4

Browse files
committed
Update notifications.integration.test.ts
1 parent f7556ae commit 35d8ef4

5 files changed

Lines changed: 0 additions & 102 deletions

File tree

.github/workflows/pr-checks.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171
echo "traces_test_trace_id=${{ secrets.UIPATH_TRACES_TEST_TRACE_ID_DEV || secrets.UIPATH_TRACES_TEST_TRACE_ID }}" >> $GITHUB_OUTPUT
7272
echo "tasks_test_user_group_id=${{ secrets.UIPATH_TASKS_TEST_USER_GROUP_ID_DEV || secrets.UIPATH_TASKS_TEST_USER_GROUP_ID }}" >> $GITHUB_OUTPUT
7373
echo "tasks_test_user_id=${{ secrets.UIPATH_TASKS_TEST_USER_ID_DEV || secrets.UIPATH_TASKS_TEST_USER_ID }}" >> $GITHUB_OUTPUT
74-
echo "tenant_id=${{ secrets.UIPATH_TENANT_ID_DEV || secrets.UIPATH_TENANT_ID }}" >> $GITHUB_OUTPUT
7574
7675
- name: Create Integration Test Configuration
7776
if: github.base_ref == 'main'
@@ -97,7 +96,6 @@ jobs:
9796
TRACES_TEST_TRACE_ID=${{ steps.config.outputs.traces_test_trace_id }}
9897
TASKS_TEST_USER_GROUP_ID=${{ steps.config.outputs.tasks_test_user_group_id }}
9998
TASKS_TEST_USER_ID=${{ steps.config.outputs.tasks_test_user_id }}
100-
UIPATH_TENANT_ID=${{ steps.config.outputs.tenant_id }}
10199
EOF
102100
103101
- name: Run Integration Tests

tests/.env.integration.example

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,3 @@ TASKS_TEST_USER_GROUP_ID=
7474
# User ID (from tasks.getUsers()) used by the single-user task assignment tests.
7575
# The user must have task permissions in the folder identified by INTEGRATION_TEST_FOLDER_ID.
7676
TASKS_TEST_USER_ID=
77-
78-
# Tenant GUID (UUID). Required for any test that calls an API which
79-
# identifies the acting tenant via the X-UIPATH-Internal-TenantId header
80-
# (e.g. Notifications, Subscriptions).
81-
UIPATH_TENANT_ID=

tests/integration/config/test-config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export interface IntegrationConfig {
2424
jobsTestFolderId?: string;
2525
tasksTestUserGroupId?: string;
2626
tasksTestUserId?: string;
27-
tenantId?: string;
2827
}
2928

3029
function isValidUrl(value: string): boolean {
@@ -80,7 +79,6 @@ function validateConfig(rawConfig: Record<string, unknown>): IntegrationConfig {
8079
jobsTestFolderId: typeof rawConfig.jobsTestFolderId === 'string' ? rawConfig.jobsTestFolderId : undefined,
8180
tasksTestUserGroupId: typeof rawConfig.tasksTestUserGroupId === 'string' ? rawConfig.tasksTestUserGroupId : undefined,
8281
tasksTestUserId: typeof rawConfig.tasksTestUserId === 'string' ? rawConfig.tasksTestUserId : undefined,
83-
tenantId: typeof rawConfig.tenantId === 'string' ? rawConfig.tenantId : undefined,
8482
};
8583
}
8684

@@ -120,7 +118,6 @@ export function loadIntegrationConfig(): IntegrationConfig {
120118
jobsTestFolderId: process.env.JOBS_TEST_FOLDER_ID || undefined,
121119
tasksTestUserGroupId: process.env.TASKS_TEST_USER_GROUP_ID || undefined,
122120
tasksTestUserId: process.env.TASKS_TEST_USER_ID || undefined,
123-
tenantId: process.env.UIPATH_TENANT_ID || undefined,
124121
};
125122

126123
cachedConfig = validateConfig(rawConfig);

tests/integration/config/unified-setup.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { Agents } from '../../../src/services/agents';
1515
import { AgentMemory } from '../../../src/services/agents/memory';
1616
import { Traces } from '../../../src/services/observability/traces';
1717
import { Governance } from '../../../src/services/governance';
18-
import { Notifications } from '../../../src/services/notification';
1918
import { loadIntegrationConfig, IntegrationConfig } from './test-config';
2019
import { UiPath as LegacyUiPath } from '../../../src/uipath';
2120
import { afterAll, beforeAll } from 'vitest';
@@ -55,7 +54,6 @@ export interface TestServices {
5554
traces?: Traces;
5655
agents?: Agents;
5756
governance?: Governance;
58-
notifications?: Notifications;
5957
}
6058

6159
/**
@@ -140,7 +138,6 @@ function createV1Services(config: IntegrationConfig): TestServices {
140138
traces: new Traces(sdk),
141139
agents: new Agents(sdk),
142140
governance: new Governance(sdk),
143-
notifications: new Notifications(sdk),
144141
};
145142
}
146143

tests/integration/shared/notification/notifications.integration.test.ts

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)