Skip to content

Commit 108d658

Browse files
committed
AWS endpoint
1 parent aee7466 commit 108d658

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
DB_PORT: ${{ job.services.mysql.ports[3306] }}
7373
DB_USERNAME: root
7474
DYNAMODB_CACHE_TABLE: laravel_dynamodb_test
75+
DYNAMODB_ENDPOINT: "http://dynamodb-local:8000"
76+
AWS_ACCESS_KEY_ID: random_key
77+
AWS_SECRET_ACCESS_KEY: random_secret
7578

7679
windows_tests:
7780
runs-on: windows-latest

tests/Integration/Cache/DynamoDbStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ protected function getEnvironmentSetUp($app)
7878

7979
$app['config']->set('cache.stores.dynamodb', [
8080
'driver' => 'dynamodb',
81-
'key' => env('AWS_ACCESS_KEY_ID', 'random-key'),
82-
'secret' => env('AWS_SECRET_ACCESS_KEY', 'random-secret'),
81+
'key' => env('AWS_ACCESS_KEY_ID'),
82+
'secret' => env('AWS_SECRET_ACCESS_KEY'),
8383
'region' => 'us-east-1',
8484
'table' => env('DYNAMODB_CACHE_TABLE', 'laravel_test'),
8585
'endpoint' => env('DYNAMODB_ENDPOINT'),

0 commit comments

Comments
 (0)