Skip to content

Commit

Permalink
Merge branch 'wip-MDL-38110-m25' of git://github.com/samhemelryk/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 25, 2013
2 parents 1e171d4 + 0bdf592 commit c45593c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cache/tests/cache_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public function test_definition_ttl() {
'mode' => cache_store::MODE_APPLICATION,
'component' => 'phpunit',
'area' => 'ttltest',
'ttl' => -10
'ttl' => -86400 // Set to a day in the past to be extra sure.
));
$cache = cache::make('phpunit', 'ttltest');
$this->assertInstanceOf('cache_application', $cache);
Expand Down Expand Up @@ -775,4 +775,4 @@ public function test_multiple_loaders() {
$this->assertTrue($cache->set('test', 'test'));
$this->assertEquals('test', $cache->get('test'));
}
}
}

0 comments on commit c45593c

Please sign in to comment.