Skip to content

chores: replace MEILISEARCH_HOST with MEILISEARCH_URL #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Each Pull Request should pass the tests, and the linter to be accepted.

```sh
# Tests
docker-compose exec -e MEILISEARCH_HOST=http://meilisearch:7700 php composer test:unit
docker-compose exec -e MEILISEARCH_URL=http://meilisearch:7700 php composer test:unit
# Linter
docker-compose exec php composer lint:check
# Linter (with auto-fix)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
stdin_open: true
working_dir: /home/package
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- MEILISEARCH_URL=http://meilisearch:7700
depends_on:
- meilisearch
links:
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<env name="APP_ENV" value="test"/>
<env name="APP_DEBUG" value="false"/>
<env name="MEILISEARCH_PREFIX" value="sf_phpunit_"/>
<env name="MEILISEARCH_HOST" value="http://127.0.0.1:7700"/>
<env name="MEILISEARCH_URL" value="http://127.0.0.1:7700"/>
<env name="MEILISEARCH_API_KEY" value="masterKey"/>
<env name="TRAVIS_JOB_NUMBER" value=""/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/config/meili_search.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
meili_search:
url: '%env(MEILISEARCH_HOST)%'
url: '%env(MEILISEARCH_URL)%'
api_key: '%env(MEILISEARCH_API_KEY)%'
prefix: '%env(MEILISEARCH_PREFIX)%_'
nbResults: 12
Expand Down