File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
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 :
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 :
You can’t perform that action at this time.
0 commit comments