File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,13 @@ Pre-requisites (see [composer.json](composer.json)) :
77
77
- ext-pgsql
78
78
- [ Symfony local web server] ( https://symfony.com/doc/current/setup/symfony_server.html )
79
79
80
+ Create an account on [ OpenWeatherMap] ( https://home.openweathermap.org/api_keys ) and copy your api key:
81
+
82
+ ```
83
+ # in /.env.dev.local
84
+ OPENWEATHER_API_KEY=xxx
85
+ ```
86
+
80
87
Start local dev environment with:
81
88
82
89
```
Original file line number Diff line number Diff line change @@ -7,3 +7,8 @@ services:
7
7
factory : ['WireMock\Client\WireMock', 'create']
8
8
# See docker-compose.yml
9
9
arguments : ['wiremock', '8080']
10
+
11
+ # Mark Secondary Ports (Hexagonal Architecture meaning) public to allow mocking them in behat tests
12
+ # To be done in config/services.yml if concrete class, or in config/packages/test/services.yml if Interface
13
+ App\Domain\WeatherProvider : ~
14
+ App\Domain\RunningSessionRepository : ~
Original file line number Diff line number Diff line change @@ -29,15 +29,10 @@ services:
29
29
# please note that last definitions always *replace* previous ones
30
30
31
31
# Mark Command/Query handlers public to allow mocking them in controller tests
32
+ # To be done in config/services.yml if concrete class, or in config/packages/test/services.yml if Interface
32
33
App\Application\Command\RegisterRunningSessionHandler :
33
34
public : true
34
35
35
- # Mark Secondary Ports (Hexagonal Architecture meaning) public to allow mocking them in behat tests
36
- App\Domain\WeatherProvider :
37
- public : true
38
- App\Domain\RunningSessionRepository :
39
- public : true
40
-
41
36
guzzle.accuweather :
42
37
class : GuzzleHttp\Client
43
38
arguments :
You can’t perform that action at this time.
0 commit comments