Exemplo n.º 1
0
 public function tearDown()
 {
     parent::tearDown();
     global $config;
     $config->set_int("upload_min_height", -1);
     $config->set_int("upload_min_width", -1);
     $config->set_int("upload_max_height", -1);
     $config->set_int("upload_max_width", -1);
     $config->set_string("upload_ratios", "");
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->log_in_as_admin();
     $this->get_page("tips/list");
     $this->markTestIncomplete();
     // get rid of the default data if it's there
     if (strpos($raw, "Delete")) {
         $this->click("Delete");
     }
     $this->log_out();
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     // FIXME: upload images
 }
Exemplo n.º 4
0
 public function setUp()
 {
     global $config;
     parent::setUp();
     $config->set_string("word_filter", "w***e,nice lady\na duck,a kitten\n white ,\tspace\ninvalid");
 }
Exemplo n.º 5
0
 public function tearDown()
 {
     global $config;
     $config->set_int("comment_limit", 10);
     parent::tearDown();
 }