Skip to content
Permalink
Browse files

Fixing failing tests because cache paths did not have trailing / on t…

…hem.
  • Loading branch information...
markstory committed Jul 12, 2010
1 parent 03288e5 commit eed9d93d19cdb5796dadc950e032a6c8420825b0
Showing with 2 additions and 2 deletions.
  1. +1 −1 cake/tests/cases/libs/cache.test.php
  2. +1 −1 cake/tests/cases/libs/cache/file.test.php
@@ -206,7 +206,7 @@ function testWritingWithConfig() {
Cache::write('test_somthing', 'this is the test data', 'tests');
$expected = array(
'path' => TMP . 'sessions',
'path' => TMP . 'sessions' . DS,
'prefix' => 'cake_',
'lock' => false,
'serialize' => true,
@@ -215,7 +215,7 @@ function testClear() {
$this->assertFalse(file_exists(CACHE . 'cake_serialize_test2'));
$this->assertFalse(file_exists(CACHE . 'cake_serialize_test3'));
Cache::config('default', array('engine' => 'File', 'path' => CACHE . 'views'));
Cache::config('default', array('engine' => 'File', 'path' => CACHE . 'views' . DS));
$data = 'this is a test of the emergency broadcasting system';
$write = Cache::write('controller_view_1', $data);

0 comments on commit eed9d93

Please sign in to comment.
You can’t perform that action at this time.