Skip to content
Permalink
Browse files

Made assertions in testNonFatalErrorsWithCacheDisable.

To avoid "R" (Risky)  in phpunit.
  • Loading branch information...
kimegede committed Aug 24, 2014
1 parent 3c8dd82 commit 55d8475547eb9011e7d16413ebf654ac3ca93ec5
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/TestCase/Cache/CacheTest.php
@@ -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'));
}
/**

0 comments on commit 55d8475

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