Skip to content

Commit

Permalink
Fixing failing tests because cache paths did not have trailing / on t…
Browse files Browse the repository at this point in the history
…hem.
  • Loading branch information
markstory committed Jul 12, 2010
1 parent 03288e5 commit eed9d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/cache.test.php
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/cache/file.test.php
Expand Up @@ -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);
Expand Down

0 comments on commit eed9d93

Please sign in to comment.