meilisearch/meilisearch-http/tests
bors[bot] cf2d8de48a
Merge #2452
2452: Change http verbs r=ManyTheFish a=Kerollmops

This PR fixes #2419 by updating the HTTP verbs used to update the settings and every single setting parameter.

- [x] `PATCH /indexes/{indexUid}` instead of `PUT`
- [x] `PATCH /indexes/{indexUid}/settings`  instead of `POST`
- [x] `PATCH /indexes/{indexUid}/settings/typo-tolerance`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/displayed-attributes`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/distinct-attribute`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/filterable-attributes`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/ranking-rules`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/searchable-attributes`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/sortable-attributes`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/stop-words`  instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/synonyms`  instead of `POST`


Co-authored-by: Kerollmops <clement@meilisearch.com>
2022-06-02 11:46:17 +00:00
..
assets chore(dump): add tests 2022-05-24 14:21:56 +02:00
auth Add typo-tolerance to the authorization tests 2022-06-02 12:17:53 +02:00
common Make clippy happy 2022-06-02 13:38:23 +02:00
dashboard Add tests for mini-dashboard status and assets 2021-10-27 17:57:25 +05:30
documents feat(http): update the documents resource 2022-05-31 16:40:40 +02:00
dumps Fix the dumps tests 2022-06-01 17:14:13 +02:00
index feat(http): paginate the index resource 2022-05-31 18:11:45 +02:00
search rename Succeded to Succeeded 2022-05-31 17:22:37 +02:00
settings Fix the get_settings tests 2022-06-02 12:24:27 +02:00
snapshot feat(http): paginate the index resource 2022-05-31 18:11:45 +02:00
stats Rename the uid to taskUid in asynchronous response 2022-05-31 11:33:20 +02:00
tasks Fix a test that was depending on the speed of the CPU 2022-06-02 10:21:19 +02:00
content_type.rs Fix the authorization tests 2022-06-02 12:16:46 +02:00
integration.rs chore(dump): add tests 2022-05-24 14:21:56 +02:00