Skip to content

Commit 8de7b05

Browse files
Merge #201
201: chores: replace MEILISEARCH_HOST with MEILISEARCH_URL r=brunoocasali a=dibashthapa # Pull Request ## Related issue Fixes #200 ## What does this PR do? - Replaces MEILISEARCH_HOST with MEILISEARCH_URL as mentioned in the issue ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Dibash Thapa <[email protected]>
2 parents b56d915 + ddaff00 commit 8de7b05

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Each Pull Request should pass the tests, and the linter to be accepted.
105105

106106
```sh
107107
# Tests
108-
docker-compose exec -e MEILISEARCH_HOST=http://meilisearch:7700 php composer test:unit
108+
docker-compose exec -e MEILISEARCH_URL=http://meilisearch:7700 php composer test:unit
109109
# Linter
110110
docker-compose exec php composer lint:check
111111
# Linter (with auto-fix)

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
stdin_open: true
88
working_dir: /home/package
99
environment:
10-
- MEILISEARCH_HOST=http://meilisearch:7700
10+
- MEILISEARCH_URL=http://meilisearch:7700
1111
depends_on:
1212
- meilisearch
1313
links:

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<env name="APP_ENV" value="test"/>
1313
<env name="APP_DEBUG" value="false"/>
1414
<env name="MEILISEARCH_PREFIX" value="sf_phpunit_"/>
15-
<env name="MEILISEARCH_HOST" value="http://127.0.0.1:7700"/>
15+
<env name="MEILISEARCH_URL" value="http://127.0.0.1:7700"/>
1616
<env name="MEILISEARCH_API_KEY" value="masterKey"/>
1717
<env name="TRAVIS_JOB_NUMBER" value=""/>
1818
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>

tests/config/meili_search.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
meili_search:
2-
url: '%env(MEILISEARCH_HOST)%'
2+
url: '%env(MEILISEARCH_URL)%'
33
api_key: '%env(MEILISEARCH_API_KEY)%'
44
prefix: '%env(MEILISEARCH_PREFIX)%_'
55
nbResults: 12

0 commit comments

Comments
 (0)