Skip to content

Commit

Permalink
Fixing cache group related test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Ploch committed Mar 26, 2012
1 parent cf2b6ac commit ce8b10e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Cake/Test/Case/Cache/CacheTest.php
Expand Up @@ -215,7 +215,8 @@ public function testWritingWithConfig() {
'probability' => 100,
'engine' => 'File',
'isWindows' => DIRECTORY_SEPARATOR == '\\',
'mask' => 0664
'mask' => 0664,
'groups' => array()
);
$this->assertEquals($expected, Cache::settings('sessions'));

Expand Down
Expand Up @@ -38,4 +38,7 @@ public function delete($key) {

public function clear($check) {
}

public function clearGroup($group) {
}
}
Expand Up @@ -36,4 +36,6 @@ public function delete($key) {
public function clear($check) {
}

public function clearGroup($group) {
}
}
3 changes: 3 additions & 0 deletions lib/Cake/Test/test_app/View/Posts/test_nocache_tags.ctp
Expand Up @@ -43,6 +43,9 @@

echo 'Settings: <ul>';
foreach ($settings as $name => $value):
if (is_array($value)):
$value = join(',', $value);
endif;
echo '<li>' . $name . ': ' . $value . '</li>';
endforeach;
echo '</ul>';
Expand Down

0 comments on commit ce8b10e

Please sign in to comment.