move patreon mock

This commit is contained in:
Michael C
2022-09-24 22:10:29 -04:00
parent 7457b51aa4
commit 47616711ce
2 changed files with 25 additions and 7 deletions

21
test/mocks/patreonMock.ts Normal file
View File

@@ -0,0 +1,21 @@
export const fakeIdentity = {
data: {},
links: {},
included: [
{
attributes: {
is_monthly: true,
currently_entitled_amount_cents: 100,
patron_status: "active_patron",
},
id: "id",
type: "campaign"
}
],
};
export const fakeOauth = {
access_token: "test_access_token",
refresh_token: "test_refresh_token",
expires_in: 3600,
};