Skip to content

Commit

Permalink
fixed existing testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
lovenishs04 committed Jan 27, 2025
1 parent 005a03c commit 48facd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function cleanupDatasets() {

async function cleanupBigQueryExports(client) {
const [exports] = await client.listBigQueryExports({
parent: client.organizationLocationPath(organizationId, location),
parent: `organizations/${organizationId}/locations/${location}`,
});
for (const exportData of exports) {
console.log(`Deleting BigQuery export: ${exportData.name}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Client with SourcesAndFindings', async () => {
displayName: 'Customized Display Name',
description: 'A new custom source that does X',
},
parent: client.organizationPath(organizationId),
parent: `organizations/${organizationId}`,
})
.catch(error => console.error(error));
const eventTime = new Date();
Expand Down

0 comments on commit 48facd7

Please sign in to comment.