test(api): adjust test expectation

This commit is contained in:
Saw-jan
2024-03-20 09:47:49 +05:45
parent fe4cd7a901
commit 2bc7b842ac
2 changed files with 1 additions and 2 deletions

View File

@@ -22,6 +22,6 @@ Feature: Copy test
Then the HTTP status code should be "201"
And the following headers should match these regular expressions
| Oc-Fileid | /^[a-f0-9!\$\-]{110}$/ |
| Access-Control-Allow-Origin | /^[*]{1}$/ |
| Access-Control-Allow-Origin | /^%base_url%$/ |
| X-Request-Id | /^[a-zA-Z]+\/[a-zA-Z]+\.feature:\d+(-\d+)?$/ |

View File

@@ -21,7 +21,6 @@ Feature: CORS headers
| header | value |
| Access-Control-Expose-Headers | Location |
| Access-Control-Allow-Origin | https://aphno.badal |
| Access-Control-Allow-Credentials | true |
Examples:
| ocs-api-version | endpoint | ocs-status-code | http-status-code |
| 1 | /config | 100 | 200 |