From 92dd97d7c907970e3c507cd8ed5df607398e41ce Mon Sep 17 00:00:00 2001 From: Maina Wycliffe Date: Wed, 29 Jan 2020 03:03:18 +0300 Subject: [PATCH] fix: update test data with data --- testdata/users.json | 9 +++++--- testdata/users_with_custom_claims.json | 32 ++++++++++++++++++++++++++ testdata/users_with_custom_claims.yaml | 17 ++++++++++++++ 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 testdata/users_with_custom_claims.json create mode 100644 testdata/users_with_custom_claims.yaml diff --git a/testdata/users.json b/testdata/users.json index 36850ba..c6134ec 100644 --- a/testdata/users.json +++ b/testdata/users.json @@ -1,9 +1,12 @@ -[{ +[ + { "name": "Some name here", "email": "james@gmail.com", "password": "HelloWorld" -}, { + }, + { "name": "Some name here", "email": "ms@outlook.com", "password": "HelloWorld" -}] \ No newline at end of file + } +] diff --git a/testdata/users_with_custom_claims.json b/testdata/users_with_custom_claims.json new file mode 100644 index 0000000..45e1513 --- /dev/null +++ b/testdata/users_with_custom_claims.json @@ -0,0 +1,32 @@ +[ + { + "name": "Some name here", + "email": "james@gmail.com", + "password": "HelloWorld", + "custom_claims": [ + { + "key": "isAdmin", + "valye": "true" + }, + { + "key": "isSomethingElse", + "value": "helloworld" + } + ] + }, + { + "name": "Some name here", + "email": "ms3444@outlook.com", + "password": "HelloWorld", + "custom_claims": [ + { + "key": "isAdmin", + "valye": "true" + }, + { + "key": "isSomethingElse", + "value": "helloworld" + } + ] + } +] diff --git a/testdata/users_with_custom_claims.yaml b/testdata/users_with_custom_claims.yaml new file mode 100644 index 0000000..7b5a296 --- /dev/null +++ b/testdata/users_with_custom_claims.yaml @@ -0,0 +1,17 @@ +--- +- name: Some name here + email: james234433@gmail.com + password: HelloWorld + custom_claims: + - key: isAdmin + valye: 'true' + - key: isSomethingElse + value: helloworld +- name: Some name here + email: ms3443224@outlook.com + password: HelloWorld + custom_claims: + - key: isAdmin + valye: 'true' + - key: isSomethingElse + value: helloworld