Skip to content

Commit 126bcb2

Browse files
committed
try different port
1 parent 108d658 commit 126bcb2

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,16 @@ jobs:
6565

6666
- name: Setup DynamoDB Local
6767
uses: rrainn/[email protected]
68+
with:
69+
port: 8888
6870

6971
- name: Execute tests
7072
run: vendor/bin/phpunit tests/Integration/Cache/DynamoDbStoreTest.php --verbose
7173
env:
7274
DB_PORT: ${{ job.services.mysql.ports[3306] }}
7375
DB_USERNAME: root
7476
DYNAMODB_CACHE_TABLE: laravel_dynamodb_test
75-
DYNAMODB_ENDPOINT: "http://dynamodb-local:8000"
77+
DYNAMODB_ENDPOINT: "http://dynamodb-local:8888"
7678
AWS_ACCESS_KEY_ID: random_key
7779
AWS_SECRET_ACCESS_KEY: random_secret
7880

tests/Integration/Cache/DynamoDbStoreTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,5 @@ public function testLocksCanBeAcquired()
7575
protected function getEnvironmentSetUp($app)
7676
{
7777
$app['config']->set('cache.default', 'dynamodb');
78-
79-
$app['config']->set('cache.stores.dynamodb', [
80-
'driver' => 'dynamodb',
81-
'key' => env('AWS_ACCESS_KEY_ID'),
82-
'secret' => env('AWS_SECRET_ACCESS_KEY'),
83-
'region' => 'us-east-1',
84-
'table' => env('DYNAMODB_CACHE_TABLE', 'laravel_test'),
85-
'endpoint' => env('DYNAMODB_ENDPOINT'),
86-
]);
8778
}
8879
}

0 commit comments

Comments
 (0)