Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit e0e5158

Browse files
committed
Update expected index in elasticsearch pp test
1 parent cae12e4 commit e0e5158

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

persistence/persistence-elastic/persist.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('should only send scan summary document if no findings are passing in', asy
4141
scan_type: 'Nmap',
4242
type: 'scan',
4343
},
44-
index: `securecodebox_default_${now.toISOString().substr(0, 10)}`,
44+
index: `scbv2_default_${now.toISOString().substr(0, 10)}`,
4545
});
4646
expect(elasticClient.bulk).not.toBeCalled();
4747
});
@@ -88,7 +88,7 @@ test('should send findings to elasticsearch', async () => {
8888
scan_type: 'Nmap',
8989
type: 'scan',
9090
},
91-
index: `securecodebox_default_${now.toISOString().substr(0, 10)}`,
91+
index: `scbv2_default_${now.toISOString().substr(0, 10)}`,
9292
});
9393

9494
expect(elasticClient.bulk).toBeCalledTimes(1);
@@ -97,7 +97,7 @@ test('should send findings to elasticsearch', async () => {
9797
body: [
9898
{
9999
index: {
100-
_index: `securecodebox_default_${now.toISOString().substr(0, 10)}`,
100+
_index: `scbv2_default_${now.toISOString().substr(0, 10)}`,
101101
},
102102
},
103103
{

0 commit comments

Comments
 (0)