public function testResetCacheShouldBeSet() { $res = array('class' => 'RIQBase', 'cache' => array(), 'cache_index' => 0, 'page_index' => 0, 'page_length' => 200, 'fetch_options' => array(), 'last_modified_date' => None, 'parent' => null); RIQBase::resetCache(); $expe = var_export($res, true); $resu = RIQBase::getVarsClass(); $this->assertEquals($expe, $resu); }
public static function setFetchOptions($options = []) { RIQBase::resetCache(); self::$fetch_options = $options; }