Skip to content

Commit

Permalink
Update Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 7, 2024
1 parent 6fe8d58 commit b86a6aa
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 109 deletions.
196 changes: 88 additions & 108 deletions api/test/fixtures/get_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,71 @@
"query": true,
"res": true
},
"GET /iconset": {
"body": false,
"query": true,
"res": true
},
"POST /iconset": {
"body": true,
"query": false,
"res": true
},
"PATCH /iconset/:iconset": {
"body": true,
"query": false,
"res": true
},
"GET /iconset/:iconset": {
"body": false,
"query": true,
"res": true
},
"DELETE /iconset/:iconset": {
"body": false,
"query": false,
"res": true
},
"POST /iconset/:iconset/icon": {
"body": true,
"query": false,
"res": true
},
"GET /icon": {
"body": false,
"query": true,
"res": true
},
"GET /iconset/:iconset/icon/:icon": {
"body": false,
"query": false,
"res": true
},
"PATCH /iconset/:iconset/icon/:icon": {
"body": true,
"query": false,
"res": true
},
"DELETE /iconset/:iconset/icon/:icon": {
"body": false,
"query": false,
"res": true
},
"GET /iconset/:iconset/icon/:icon/raw": {
"body": false,
"query": true,
"res": false
},
"GET /icon/sprite:size?.json": {
"body": false,
"query": true,
"res": false
},
"GET /icon/sprite:size?.png": {
"body": false,
"query": true,
"res": false
},
"POST /import": {
"body": true,
"query": false,
Expand Down Expand Up @@ -544,71 +609,6 @@
"query": false,
"res": true
},
"GET /iconset": {
"body": false,
"query": true,
"res": true
},
"POST /iconset": {
"body": true,
"query": false,
"res": true
},
"PATCH /iconset/:iconset": {
"body": true,
"query": false,
"res": true
},
"GET /iconset/:iconset": {
"body": false,
"query": true,
"res": true
},
"DELETE /iconset/:iconset": {
"body": false,
"query": false,
"res": true
},
"POST /iconset/:iconset/icon": {
"body": true,
"query": false,
"res": true
},
"GET /icon": {
"body": false,
"query": true,
"res": true
},
"GET /iconset/:iconset/icon/:icon": {
"body": false,
"query": false,
"res": true
},
"PATCH /iconset/:iconset/icon/:icon": {
"body": true,
"query": false,
"res": true
},
"DELETE /iconset/:iconset/icon/:icon": {
"body": false,
"query": false,
"res": true
},
"GET /iconset/:iconset/icon/:icon/raw": {
"body": false,
"query": true,
"res": false
},
"GET /icon/sprite:size?.json": {
"body": false,
"query": true,
"res": false
},
"GET /icon/sprite:size?.png": {
"body": false,
"query": true,
"res": false
},
"POST /marti/missions/:name/log": {
"body": true,
"query": false,
Expand Down Expand Up @@ -704,61 +704,41 @@
"query": false,
"res": true
},
"GET /marti/video": {
"GET /marti/subscription": {
"body": false,
"query": true,
"res": true
},
"GET /marti/group": {
"GET /marti/subscription/:clientuid": {
"body": false,
"query": true,
"query": false,
"res": true
},
"PUT /marti/group": {
"body": true,
"GET /marti/video": {
"body": false,
"query": true,
"res": true
},
"GET /marti/api/contacts/all": {
"GET /marti/group": {
"body": false,
"query": false,
"query": true,
"res": true
},
"POST /marti/signClient": {
"PUT /marti/group": {
"body": true,
"query": false,
"res": true
},
"GET /overlay": {
"body": false,
"query": true,
"res": true
},
"GET /overlay/:overlay": {
"GET /marti/api/contacts/all": {
"body": false,
"query": false,
"res": true
},
"PATCH /overlay/:overlay": {
"body": true,
"query": false,
"res": true
},
"POST /overlay": {
"POST /marti/signClient": {
"body": true,
"query": false,
"res": true
},
"GET /overlay/:overlay/tiles": {
"body": false,
"query": true,
"res": true
},
"GET /overlay/:overlay/tiles/:z/:x/:y": {
"body": false,
"query": true,
"res": false
},
"GET /profile/asset": {
"body": false,
"query": false,
Expand Down Expand Up @@ -849,34 +829,34 @@
"query": false,
"res": true
},
"GET /server": {
"GET /search/reverse/:longitude/:latitude": {
"body": false,
"query": false,
"res": true
},
"PATCH /server": {
"body": true,
"query": false,
"GET /search/forward": {
"body": false,
"query": true,
"res": true
},
"GET /swagger": {
"GET /search/suggest": {
"body": false,
"query": false,
"query": true,
"res": true
},
"GET /search/reverse/:longitude/:latitude": {
"GET /server": {
"body": false,
"query": false,
"res": true
},
"GET /search/forward": {
"body": false,
"query": true,
"PATCH /server": {
"body": true,
"query": false,
"res": true
},
"GET /search/suggest": {
"GET /swagger": {
"body": false,
"query": true,
"query": false,
"res": true
},
"GET /task": {
Expand Down Expand Up @@ -944,7 +924,7 @@
"query": true,
"res": true
},
"GET /user/:email": {
"GET /user/:username": {
"body": false,
"query": false,
"res": true
Expand Down
2 changes: 1 addition & 1 deletion api/web/src/components/Configure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default {
this.loading = true;
try {
await std('/api/server/1', {
await std('/api/server', {
method: 'PATCH',
body: this.body
})
Expand Down

0 comments on commit b86a6aa

Please sign in to comment.