File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ jobs:
113
113
114
114
- name : Run redis with a password
115
115
run : |
116
- docker run --rm --name redis -p $REDIS_PORT:6379 -d redis:${{ matrix.redis-versions }} redis-server --requirepass "secret" --port 6379
116
+ docker run --rm --name redis -p $REDIS_PORT:6380 -d redis:${{ matrix.redis-versions }} redis-server --requirepass "secret" --port 6379
117
117
118
118
- name : Install dependencies
119
119
run : |
@@ -124,4 +124,6 @@ jobs:
124
124
run : docker ps -a
125
125
126
126
- name : Execute tests
127
- run : vendor/bin/phpunit --exclude-group=redis-insecure
127
+ run : vendor/bin/phpunit --exclude-group=redis-insecure\
128
+ env :
129
+ REDIS_PORT : 6380
Original file line number Diff line number Diff line change @@ -104,6 +104,6 @@ protected function getRedisHost()
104
104
*/
105
105
protected function getRedisPort ()
106
106
{
107
- return (int ) ($ _ENV ['REDIS_PORT ' ] ?? 6380 );
107
+ return (int ) ($ _ENV ['REDIS_PORT ' ] ?? 6379 );
108
108
}
109
109
}
Original file line number Diff line number Diff line change @@ -90,6 +90,6 @@ protected function getRedisHost()
90
90
*/
91
91
protected function getRedisPort ()
92
92
{
93
- return (int ) ($ _ENV ['REDIS_PORT ' ] ?? 6380 );
93
+ return (int ) ($ _ENV ['REDIS_PORT ' ] ?? 6379 );
94
94
}
95
95
}
You can’t perform that action at this time.
0 commit comments