Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed another test. :-(
  • Loading branch information
jeremeamia committed Oct 8, 2014
1 parent 0db559e commit 9c4e8e0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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());
}
Expand Down

0 comments on commit 9c4e8e0

Please sign in to comment.