Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed failing tests for 2.2 cache groups fetaure. #583

Merged
merged 1 commit into from Mar 26, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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