| 1 |
<?php |
| 2 |
|
| 3 |
namespace PostHog\Test\Assets; |
| 4 |
|
| 5 |
class MockedResponses |
| 6 |
{ |
| 7 |
public const SIMPLE_FLAG_EXAMPLE_REQUEST = [ |
| 8 |
"count" => 1, |
| 9 |
"next" => null, |
| 10 |
"previous" => null, |
| 11 |
"results" => [ |
| 12 |
[ |
| 13 |
"id" => 719, |
| 14 |
"name" => "", |
| 15 |
"key" => "simpleFlag", |
| 16 |
"filters" => [ |
| 17 |
"groups" => [ |
| 18 |
[ |
| 19 |
"properties" => [], |
| 20 |
"rollout_percentage" => null |
| 21 |
] |
| 22 |
] |
| 23 |
], |
| 24 |
"deleted" => false, |
| 25 |
"active" => true, |
| 26 |
"is_simple_flag" => true, |
| 27 |
"rollout_percentage" => null |
| 28 |
], |
| 29 |
[ |
| 30 |
"id" => 720, |
| 31 |
"name" => "", |
| 32 |
"key" => "enabled-flag", |
| 33 |
"filters" => [ |
| 34 |
"groups" => [ |
| 35 |
[ |
| 36 |
"properties" => [], |
| 37 |
"rollout_percentage" => null |
| 38 |
] |
| 39 |
] |
| 40 |
], |
| 41 |
"deleted" => false, |
| 42 |
"active" => true, |
| 43 |
"is_simple_flag" => false, |
| 44 |
"rollout_percentage" => null |
| 45 |
], |
| 46 |
[ |
| 47 |
"id" => 721, |
| 48 |
"name" => "", |
| 49 |
"key" => "disabled-flag", |
| 50 |
"filters" => [ |
| 51 |
"groups" => [ |
| 52 |
[ |
| 53 |
"properties" => [], |
| 54 |
"rollout_percentage" => null |
| 55 |
] |
| 56 |
] |
| 57 |
], |
| 58 |
"deleted" => false, |
| 59 |
"active" => true, |
| 60 |
"is_simple_flag" => false, |
| 61 |
"rollout_percentage" => null |
| 62 |
], |
| 63 |
] |
| 64 |
]; |
| 65 |
} |
| 66 |
|