Commit 6961d67
authored
FEEDS-1195: Skip user flagging tests when moderation not enabled (#635)
* test: skip client.flagUser() integration test
The client.flagUser() test requires moderation features to be enabled
on the account. Skipping this test to prevent CI failures.
* test: conditionally run user flagging tests based on APP_ID
Only run user flagging tests when APP_ID is 16792 (account with moderation enabled).
This prevents test failures in environments without moderation features (e.g., StreamAPI repo).
Tests will:
- Run on APP_ID 16792 (moderation enabled)
- Skip on other APP_IDs (moderation not enabled)
* docs: explain why moderation tests are conditional
Add comment explaining that APP_ID 6743 (default test app) can't have
moderation enabled as it would break other existing tests. This is why
we conditionally run moderation tests only on APP_ID 16792.
* docs: simplify moderation test comment
Remove internal implementation details and keep it professional.
Just state that these tests require moderation features.
* docs: clarify why moderation tests are conditional
Explain that APP_ID 16792 has moderation enabled, while other test
apps (e.g., StreamAPI CI) have it disabled, hence the conditional skip.1 parent 7089f3e commit 6961d67
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | | - | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | | - | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
40 | | - | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
0 commit comments