Skip to content

Commit 440b9e8

Browse files
chore(doc): Specify how to test the full API
1 parent 9535f16 commit 440b9e8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CONTRIBUTING.md

+24
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,30 @@ Run the tests using the following script:
5151
make test
5252
```
5353

54+
You need a Slack Application OAuth token to run all the tests.
55+
56+
Scope are at least:
57+
58+
- channels:history
59+
- channels:read
60+
- channels:write
61+
- chat:write
62+
- files:read
63+
- files:write
64+
- im:history
65+
- im:read
66+
- reactions:read
67+
- search:read
68+
- stars:read
69+
- usergroups:read
70+
- users:read
71+
72+
Set the token in `phpunit.xml`:
73+
74+
```xml
75+
<server name="SLACK_TOKEN" value="edit_me" />
76+
```
77+
5478
## Standard code
5579

5680
Use [PHP CS fixer](https://cs.symfony.com/) to make your code compliant with

0 commit comments

Comments
 (0)