add integration tests for checking service token with overrides

This commit is contained in:
Maidul Islam
2023-04-12 12:00:27 -07:00
parent e2c67ffbef
commit dda5f75450
4 changed files with 159 additions and 69 deletions
+4
View File
@@ -89,4 +89,8 @@ export const getServiceTokenFromTestUser = async () => {
export const deleteAllSecrets = async () => {
await Secret.deleteMany()
}
export const getAllSecrets = async () => {
return await Secret.find()
}