Skip to content

Commit 9905e14

Browse files
committed
Updated integration tests
1 parent 1dc0332 commit 9905e14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/integration/experiments-test-cases.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tests:
77

88
001 - it successfully lists all segments with no data:
99
command: auth0 segments list
10-
exit-code: 1
10+
exit-code: 0
1111
stderr:
1212
contains:
1313
- "Use 'auth0 segments create' to add one"
@@ -19,7 +19,7 @@ tests:
1919
exactly: "[]"
2020

2121
003 - it successfully creates a segment:
22-
command: auth0 segments create -n "integration-test-segment1" -r '[{"match":{"contains":["@beta.example.com"]}}]' --no-input
22+
command: auth0 segments create -n "integration-test-segment1" -r '[{"match":{"domain":["example.com"]}}]' --no-input
2323
exit-code: 0
2424
stdout:
2525
contains:
@@ -36,7 +36,7 @@ tests:
3636
- UPDATED
3737

3838
005 - it successfully creates a segment and outputs in json:
39-
command: auth0 segments create -n "integration-test-segment2" -r '[{"match":{"ends_with":["@mycompany.com"]}}]' --json --no-input
39+
command: auth0 segments create -n "integration-test-segment2" -r '[{"match":{"browser":["chrome"]}}]' --json --no-input
4040
exit-code: 0
4141
stdout:
4242
json:

0 commit comments

Comments
 (0)