Add comment for usage of YoutubeParsingHelper.resetClientVersionAndKey

This commit is contained in:
XiangRongLin 2021-01-14 20:01:52 +01:00
parent 4af50c6870
commit 6ca7123d5d

View file

@ -353,6 +353,11 @@ public class YoutubeParsingHelper {
return key;
}
/**
* Only use in tests.
*
* Quick-and-dirty solution to reset global state in between test classes.
*/
static void resetClientVersionAndKey() {
clientVersion = null;
key = null;