mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
fix: test
This commit is contained in:
@@ -30,11 +30,7 @@ t.test("#CreateKaiReauthFunction", (t) => {
|
||||
|
||||
t.test("Should create a working reauthentication for the service.", async (t) => {
|
||||
const mockFetch = MockJSONFetch({
|
||||
[`${ServerConfig.FLO_API_URL}/oauth/token?refresh_token=${
|
||||
authDoc.refreshToken
|
||||
}&grant_type=refresh_token&client_secret=${
|
||||
ServerConfig.FLO_OAUTH2_INFO!.CLIENT_SECRET
|
||||
}&client_id=${ServerConfig.FLO_OAUTH2_INFO!.CLIENT_ID}`]: {
|
||||
[`${ServerConfig.FLO_API_URL}/oauth/token`]: {
|
||||
refresh_token: "NEW_REFRESH_TOKEN",
|
||||
access_token: "NEW_ACCESS_TOKEN",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user