/**
  * Before class method: set minimun server severity;
  * otherwise server messages end up on the error stack
  * and will let the test fail (no error policy).
  */
 public function setUp()
 {
     parent::setUp();
     if (function_exists('sybase_min_server_severity')) {
         sybase_min_server_severity(12);
     }
 }
 /** @return void */
 public function tearDown()
 {
     parent::tearDown();
     // Suppress "mysql_connect(): The mysql extension is deprecated [...]"
     foreach (\xp::$errors as $file => $errors) {
         if (strstr($file, 'MySQLConnection')) {
             unset(\xp::$errors[$file]);
         }
     }
 }
 /**
  * Before class method: set minimun server severity;
  * otherwise server messages end up on the error stack
  * and will let the test fail (no error policy).
  *
  */
 public function setUp()
 {
     parent::setUp();
     sybase_min_server_severity(12);
 }