Skip to content

Commit

Permalink
Made assertions in testNonFatalErrorsWithCacheDisable.
Browse files Browse the repository at this point in the history
To avoid "R" (Risky)  in phpunit.
  • Loading branch information
kimegede committed Aug 24, 2014
1 parent 3c8dd82 commit 55d8475
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TestCase/Cache/CacheTest.php
Expand Up @@ -65,13 +65,13 @@ protected function _configCache() {
*
* @return void
*/
public function testNonFatalErrorsWithCachedisable() {
public function testNonFatalErrorsWithCacheDisable() {
Cache::disable();
$this->_configCache();

Cache::write('no_save', 'Noooo!', 'tests');
Cache::read('no_save', 'tests');
Cache::delete('no_save', 'tests');
$this->assertNull(Cache::write('no_save', 'Noooo!', 'tests'));
$this->assertFalse(Cache::read('no_save', 'tests'));
$this->assertNull(Cache::delete('no_save', 'tests'));
}

/**
Expand Down

0 comments on commit 55d8475

Please sign in to comment.