Esempio n. 1
0
 public function testSetModelConfiguration()
 {
     $config = Mad_Madness_Configuration::getInstance();
     $config->model->cacheTables = true;
     $config->end();
     $this->assertTrue(Mad_Model_Base::$cacheTables);
     $config->model->cacheTables = false;
     $config->end();
     $this->assertFalse(Mad_Model_Base::$cacheTables);
 }
Esempio n. 2
0
 public static function run()
 {
     return Mad_Madness_Configuration::getInstance();
 }