Skip to content

Commit 43bcfc6

Browse files
authored
Merge pull request #272 from crhg/fix_dynamodb_local_key
feat(docker): add compatibility with dynamodb-local 2.0
2 parents 4e35d27 + 5d6eabb commit 43bcfc6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/dynamodb.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
],
4444
'local' => [
4545
'credentials' => [
46-
'key' => 'dynamodb_local',
46+
'key' => 'dynamodblocal',
4747
'secret' => 'secret',
4848
],
4949
'region' => 'stub',
@@ -53,7 +53,7 @@
5353
],
5454
'test' => [
5555
'credentials' => [
56-
'key' => 'dynamodb_local',
56+
'key' => 'dynamodblocal',
5757
'secret' => 'secret',
5858
],
5959
'region' => 'test',

tests/DynamoDbTestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function getEnvironmentSetUp($app)
3434
{
3535
$app['config']->set('dynamodb.connections.test', [
3636
'credentials' => [
37-
'key' => 'dynamodb_local',
37+
'key' => 'dynamodblocal',
3838
'secret' => 'secret',
3939
],
4040
'region' => 'test',
@@ -44,6 +44,6 @@ protected function getEnvironmentSetUp($app)
4444

4545
protected function setUpDatabase()
4646
{
47-
copy(dirname(__FILE__) . '/../dynamodb_local_init.db', dirname(__FILE__) . '/../dynamodb_local_test.db');
47+
copy(dirname(__FILE__) . '/../dynamodb_local_init.db', dirname(__FILE__) . '/../dynamodblocal_test.db');
4848
}
4949
}

0 commit comments

Comments
 (0)