Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #583 from tPl0ch/2.2-cache-groups

Fixed failing tests for 2.2 cache groups fetaure.
  • Loading branch information...
commit 969b682ece745897c4a76df1198429815245717b 2 parents cf2b6ac + ce8b10e
José Lorenzo Rodríguez lorenzo authored
3  lib/Cake/Test/Case/Cache/CacheTest.php
@@ -215,7 +215,8 @@ public function testWritingWithConfig() {
215 215 'probability' => 100,
216 216 'engine' => 'File',
217 217 'isWindows' => DIRECTORY_SEPARATOR == '\\',
218   - 'mask' => 0664
  218 + 'mask' => 0664,
  219 + 'groups' => array()
219 220 );
220 221 $this->assertEquals($expected, Cache::settings('sessions'));
221 222
3  lib/Cake/Test/test_app/Lib/Cache/Engine/TestAppCacheEngine.php
@@ -38,4 +38,7 @@ public function delete($key) {
38 38
39 39 public function clear($check) {
40 40 }
  41 +
  42 + public function clearGroup($group) {
  43 + }
41 44 }
2  lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Cache/Engine/TestPluginCacheEngine.php
@@ -36,4 +36,6 @@ public function delete($key) {
36 36 public function clear($check) {
37 37 }
38 38
  39 + public function clearGroup($group) {
  40 + }
39 41 }
3  lib/Cake/Test/test_app/View/Posts/test_nocache_tags.ctp
@@ -43,6 +43,9 @@
43 43
44 44 echo 'Settings: <ul>';
45 45 foreach ($settings as $name => $value):
  46 + if (is_array($value)):
  47 + $value = join(',', $value);
  48 + endif;
46 49 echo '<li>' . $name . ': ' . $value . '</li>';
47 50 endforeach;
48 51 echo '</ul>';

0 comments on commit 969b682

Please sign in to comment.
Something went wrong with that request. Please try again.