Skip to content

Commit

Permalink
Merge pull request #272 from crhg/fix_dynamodb_local_key
Browse files Browse the repository at this point in the history
feat(docker): add compatibility with dynamodb-local 2.0
  • Loading branch information
nelson6e65 authored Jul 10, 2023
2 parents 4e35d27 + 5d6eabb commit 43bcfc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/dynamodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
'local' => [
'credentials' => [
'key' => 'dynamodb_local',
'key' => 'dynamodblocal',
'secret' => 'secret',
],
'region' => 'stub',
Expand All @@ -53,7 +53,7 @@
],
'test' => [
'credentials' => [
'key' => 'dynamodb_local',
'key' => 'dynamodblocal',
'secret' => 'secret',
],
'region' => 'test',
Expand Down
4 changes: 2 additions & 2 deletions tests/DynamoDbTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function getEnvironmentSetUp($app)
{
$app['config']->set('dynamodb.connections.test', [
'credentials' => [
'key' => 'dynamodb_local',
'key' => 'dynamodblocal',
'secret' => 'secret',
],
'region' => 'test',
Expand All @@ -44,6 +44,6 @@ protected function getEnvironmentSetUp($app)

protected function setUpDatabase()
{
copy(dirname(__FILE__) . '/../dynamodb_local_init.db', dirname(__FILE__) . '/../dynamodb_local_test.db');
copy(dirname(__FILE__) . '/../dynamodb_local_init.db', dirname(__FILE__) . '/../dynamodblocal_test.db');
}
}

0 comments on commit 43bcfc6

Please sign in to comment.