Skip to content

Commit d4c3fc4

Browse files
committed
bump version and fix url
1 parent 852e939 commit d4c3fc4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
- name: Tests
4545
run: make tests
4646
env:
47-
ELASTICSEARCH_HOST: localhost:9200
47+
ELASTICSEARCH_HOST: http://localhost:9200

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"ext-curl": "*",
1919
"phpstan/phpstan": "^1.11.3",
2020
"nette/tester": "v2.3.1",
21-
"elasticsearch/elasticsearch": "^7",
22-
"guzzlehttp/guzzle": "^6.3",
21+
"elasticsearch/elasticsearch": "^9.0.0",
22+
"guzzlehttp/guzzle": "^7.0",
2323
"slevomat/coding-standard": "^8.0"
2424
},
2525
"autoload": {
@@ -34,7 +34,8 @@
3434
},
3535
"config": {
3636
"allow-plugins": {
37-
"dealerdirect/phpcodesniffer-composer-installer": true
37+
"dealerdirect/phpcodesniffer-composer-installer": true,
38+
"php-http/discovery": true
3839
}
3940
},
4041
"brach-alias": {

tests/SpameriTests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
\date_default_timezone_set('Europe/Prague');
2121

2222
// Elasticsearch host configuration (can be overridden via environment variable)
23-
\define('ELASTICSEARCH_HOST', \getenv('ELASTICSEARCH_HOST') ?: 'localhost:9200');
23+
\define('ELASTICSEARCH_HOST', \getenv('ELASTICSEARCH_HOST') ?: 'http://localhost:9200');
2424

2525
return $loader;

0 commit comments

Comments
 (0)