Skip to content

Commit 09aeba6

Browse files
abbesBenayachePierreJeanjacquot
authored andcommitted
test(dapp): change test assertion from 'dataset' to 'protectedData' property
1 parent 44feeb4 commit 09aeba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dapp/tests/e2e/app.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@ describe('sendEmail', () => {
612612
expect(result).toHaveProperty('protected-data-results');
613613
expect(result['protected-data-results']).toHaveLength(2);
614614

615-
// Verify each dataset result
615+
// Verify each protected data result
616616
result['protected-data-results'].forEach((datasetResult, index) => {
617617
expect(datasetResult).toHaveProperty('index', index + 1);
618-
expect(datasetResult).toHaveProperty('dataset');
618+
expect(datasetResult).toHaveProperty('protectedData');
619619
expect(datasetResult).toHaveProperty('response');
620620
expect(datasetResult.response).toHaveProperty('status', 200);
621621
expect(datasetResult.response).toHaveProperty('message');

0 commit comments

Comments
 (0)