You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,12 +35,11 @@ You will need to create a new app in the Spotify Developer portal, and add a red
35
35
36
36
Add the following environment variables:
37
37
38
+
-`INTEGRATION_TESTS_REFRESH_TOKEN`
38
39
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_ID`
39
40
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_SECRET`
40
-
-`INTEGRATION_TESTS_USER_EMAIL`
41
-
-`INTEGRATION_TESTS_USER_PASSWORD`
42
41
43
-
The latter two credentials are used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for.
42
+
`INTEGRATION_TESTS_REFRESH_TOKEN` is used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for. You can obtain a refresh token by running the example app and authenticating.
44
43
45
44
You can run the tests with `npm run test`, or using a plugin like [Wallaby](https://wallabyjs.com/).
46
45
@@ -76,12 +75,11 @@ You will need to create a new app in the Spotify Developer portal, and add a red
76
75
77
76
You will need to add the following environment variables:
78
77
78
+
-`INTEGRATION_TESTS_REFRESH_TOKEN`
79
79
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_ID`
80
80
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_SECRET`
81
-
-`INTEGRATION_TESTS_USER_EMAIL`
82
-
-`INTEGRATION_TESTS_USER_PASSWORD`
83
81
84
-
The latter two credentials are used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for.
82
+
`INTEGRATION_TESTS_REFRESH_TOKEN` is used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for. You can obtain a refresh token by running the example app and authenticating.
85
83
86
84
You can run the tests with `npm run test`, or using a plugin like [Wallaby](https://wallabyjs.com/).
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,12 +293,11 @@ You will need to create a new app in the Spotify Developer portal, and add a red
293
293
294
294
You will need to add the following environment variables:
295
295
296
+
-`INTEGRATION_TESTS_REFRESH_TOKEN`
296
297
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_ID`
297
298
-`INTEGRATION_TESTS_SPOTIFY_CLIENT_SECRET`
298
-
-`INTEGRATION_TESTS_USER_EMAIL`
299
-
-`INTEGRATION_TESTS_USER_PASSWORD`
300
299
301
-
The latter two credentials are used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for.
300
+
`INTEGRATION_TESTS_REFRESH_TOKEN` is used to run integration tests in the scope of a *real user account*. This is required to test endpoints that require a user's authorization, such as `followPlaylist`. You need to make sure that your user has access to whichever Spotify app your client credentials and secret are for. You can obtain a refresh token by running the example app and authenticating.
302
301
303
302
You can run the tests with `npm run test`, or using a plugin like [Wallaby](https://wallabyjs.com/).
0 commit comments