fix: test

This commit is contained in:
zkldi
2023-02-01 16:12:47 +00:00
parent 4497a764b5
commit 29e2bd0ece
@@ -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",
},