From 9c4e8e010e4ebf9c640007c0fec3ae29bb466e77 Mon Sep 17 00:00:00 2001 From: Jeremy Lindblom Date: Wed, 8 Oct 2014 11:10:27 -0700 Subject: [PATCH] Fixed another test. :-( --- .../Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php b/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php index 2bd206e880..cfe01f630a 100644 --- a/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php +++ b/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php @@ -33,13 +33,13 @@ public function testConstructorSetsValues() // Instantiate with item array. $item = ['id' => ['S' => 'foo']]; - $putRequest = new PutRequest(['id' => ['S' => 'foo']], 'table'); + $putRequest = new PutRequest(array('id' => array('S' => 'foo')), 'table'); $this->assertEquals($item, $putRequest->getItem()->toArray()); } public function testConstructorSetsValuesWhenItemContainsTable() { - $item = new Item(['id' => ['S' => 'foo']], 'table'); + $item = new Item(array('id' => array('S' => 'foo')), 'table'); $putRequest = new PutRequest($item); $this->assertSame($item->toArray(), $putRequest->getItem()->toArray()); }