Skip to content

Commit 0bde030

Browse files
committed
Change test FTP port
1 parent ed9defe commit 0bde030

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: bowphp
22

33
on: [ push, pull_request ]
44

5-
# env:
6-
# FTP_HOST: localhost
7-
# FTP_USER: username
8-
# FTP_PASSWORD: password
9-
# FTP_PORT: 21
10-
# FTP_ROOT: /tmp
11-
125
jobs:
136
lunix-tests:
147
runs-on: ${{ matrix.os }}

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ services:
5757
image: papacdev/vsftpd
5858
restart: unless-stopped
5959
ports:
60-
- "1021:21"
61-
- "20:20"
60+
- "2021:21"
61+
- "2020:20"
6262
- "12020-12025:12020-12025"
6363
environment:
6464
USER: username

tests/Config/stubs/config/storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
'hostname' => app_env('FTP_HOST', 'localhost'),
2727
'password' => app_env('FTP_PASSWORD', 'password'),
2828
'username' => app_env('FTP_USERNAME', 'username'),
29-
'port' => app_env('FTP_PORT', 21),
29+
'port' => app_env('FTP_PORT', 2021),
3030
'root' => app_env('FTP_ROOT', '/tmp'), // Start directory
3131
'tls' => app_env('FTP_SSL', false), // `true` enable the secure connexion.
3232
'timeout' => app_env('FTP_TIMEOUT', 90) // Temps d'attente de connection

0 commit comments

Comments
 (0)