Skip to content

Commit e927b15

Browse files
committed
Added a test of list_sobjects that does filter
1 parent e31abc0 commit e927b15

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

examples/salesforce/tools/list_sobjects.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ tool:
2222
annotations:
2323
readOnlyHint: true
2424
tests:
25-
- name: "Returns array of object names"
26-
description: "Verify the tool returns an array of Salesforce object names"
27-
arguments: []
28-
result_contains_item: "Account"
2925
- name: "Contains standard objects"
3026
description: "Verify standard Salesforce objects are present"
3127
arguments: []
3228
result_contains_all:
3329
- "Account"
3430
- "Contact"
35-
- "Opportunity"
31+
- "Opportunity"
32+
- name: "filter"
33+
description: "Verify the filter is applied"
34+
arguments:
35+
- key: filter
36+
value: "count"
37+
result_contains_all:
38+
- "Account"

0 commit comments

Comments
 (0)