Skip to content

Commit

Permalink
fixed MemoryTest::testThrowOutOfCapacityException
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Dec 23, 2011
1 parent 3fb6351 commit fa68846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Zend/Cache/Storage/Adapter/MemoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function setUp()

public function testThrowOutOfCapacityException()
{
$this->_options->setMemoryLimit(memory_get_usage(true) + 5);
$this->_options->setMemoryLimit(memory_get_usage(true) - 8);

$this->setExpectedException('Zend\Cache\Exception\OutOfCapacityException');
$this->_storage->addItem('test', 'test');
Expand Down

0 comments on commit fa68846

Please sign in to comment.