From 7c99eb3b889aabcf73a0c3ceb17eeeec4737d256 Mon Sep 17 00:00:00 2001 From: lpm0073 Date: Thu, 6 Oct 2022 08:12:05 -0500 Subject: [PATCH] add more test data --- data/get_user_details.json | 3 --- data/get_user_details_extended.json | 15 +++++++++++++++ data/wp-oauth-response-expired-token.json | 4 ++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 data/get_user_details_extended.json create mode 100644 data/wp-oauth-response-expired-token.json diff --git a/data/get_user_details.json b/data/get_user_details.json index cbe4b84..eb1ec4e 100644 --- a/data/get_user_details.json +++ b/data/get_user_details.json @@ -7,9 +7,6 @@ "is_staff": true, "is_superuser": true, "last_name": "McDaniel", - "refresh_token": "", - "scope": "", - "token_type": "", "user_status": "0", "username": "mcdaniel" } diff --git a/data/get_user_details_extended.json b/data/get_user_details_extended.json new file mode 100644 index 0000000..cbe4b84 --- /dev/null +++ b/data/get_user_details_extended.json @@ -0,0 +1,15 @@ +{ + "date_joined": "2022-10-04 00:46:37", + "email": "lpm0073@gmail.com", + "first_name": "Lawrence", + "fullname": "Lawrence McDaniel", + "id": 6, + "is_staff": true, + "is_superuser": true, + "last_name": "McDaniel", + "refresh_token": "", + "scope": "", + "token_type": "", + "user_status": "0", + "username": "mcdaniel" +} diff --git a/data/wp-oauth-response-expired-token.json b/data/wp-oauth-response-expired-token.json new file mode 100644 index 0000000..8fd27ea --- /dev/null +++ b/data/wp-oauth-response-expired-token.json @@ -0,0 +1,4 @@ +{ + "error": "expired_token", + "error_description": "The access token provided has expired" +} \ No newline at end of file