update addFeatures

- add case_boilerplate
- add grantFeature query
This commit is contained in:
Michael C
2023-09-27 21:03:53 -04:00
parent 4438ce7db6
commit 964634dc51
4 changed files with 72 additions and 44 deletions

16
test/case_boilerplate.txt Normal file
View File

@@ -0,0 +1,16 @@
const endpoint = "/api/endpoint";
const postTestEndpoint = () => client({
method: "POST",
url: endpoint,
data: {
}
});
const cases = [
"firstCase",
"secondCase",
"thirdCase"
];
const users = genUsers("endpoint", cases);
const vipUser = genUser("endpoint", "vip");