Skip to content

Commit 115ebfb

Browse files
committed
test(dlp): use realistic mock SSN to fix DLP API likelihood filtering
1 parent 50f91ab commit 115ebfb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dlp/inspectWithCustomHotwords.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function main(projectId) {
3737
],
3838
rows: [
3939
{
40-
values: [{stringValue: '111-11-1111'}, {stringValue: '222-22-2222'}],
40+
values: [{stringValue: '111-11-1111'}, {stringValue: '458-90-3124'}],
4141
},
4242
],
4343
};

dlp/system-test/inspect.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ describe('inspect', () => {
11441144
it('should inspect a table excluding findings in a particular row', () => {
11451145
const output = execSync(`node inspectWithCustomHotwords.js ${projectId}`);
11461146
assert.match(output, /Findings: 1/);
1147-
assert.match(output, /Quote: 222-22-2222/);
1147+
assert.match(output, /Quote: 458-90-3124/);
11481148
assert.notMatch(output, /Quote: 111-11-1111/);
11491149
});
11501150

0 commit comments

Comments
 (0)