@@ -93,6 +93,28 @@ test.only('test_update_environment_handles_paginated_document', async () => {
9393 name : 'string_feature'
9494 } ,
9595 enabled : false
96+ } ,
97+ {
98+ feature_state_value : 'second_page_feature_state' ,
99+ multivariate_feature_state_values : [ ] ,
100+ django_id : 81027 ,
101+ feature : {
102+ id : 15058 ,
103+ type : 'STANDARD' ,
104+ name : 'string_feature'
105+ } ,
106+ enabled : false
107+ } ,
108+ {
109+ feature_state_value : 'third_page_feature_state' ,
110+ multivariate_feature_state_values : [ ] ,
111+ django_id : 81027 ,
112+ feature : {
113+ id : 15058 ,
114+ type : 'STANDARD' ,
115+ name : 'string_feature'
116+ } ,
117+ enabled : false
96118 }
97119 ] ,
98120 identity_overrides : [ { id : 1 , identifier : 'user1' } ] ,
@@ -114,19 +136,7 @@ test.only('test_update_environment_handles_paginated_document', async () => {
114136 hide_disabled_flags : false ,
115137 segments : [ ]
116138 } ,
117- feature_states : [
118- {
119- feature_state_value : 'second_page_feature_state' ,
120- multivariate_feature_state_values : [ ] ,
121- django_id : 81027 ,
122- feature : {
123- id : 15058 ,
124- type : 'STANDARD' ,
125- name : 'string_feature'
126- } ,
127- enabled : false
128- }
129- ] ,
139+ feature_states : [ ] ,
130140 identity_overrides : [ { id : 2 , identifier : 'user2' } ] ,
131141 links : { next : { url : '/api/v1/environment-document?page=3' } }
132142 } ,
@@ -146,19 +156,7 @@ test.only('test_update_environment_handles_paginated_document', async () => {
146156 hide_disabled_flags : false ,
147157 segments : [ ]
148158 } ,
149- feature_states : [
150- {
151- feature_state_value : 'third_page_feature_state' ,
152- multivariate_feature_state_values : [ ] ,
153- django_id : 81027 ,
154- feature : {
155- id : 15058 ,
156- type : 'STANDARD' ,
157- name : 'string_feature'
158- } ,
159- enabled : false
160- }
161- ] ,
159+ feature_states : [ ] ,
162160 identity_overrides : [ { id : 2 , identifier : 'user3' } ] ,
163161 links : null
164162 }
0 commit comments