Exemple #1
0
 /**
  * Stored routine with designation type none must return the number of rows affected.
  */
 public function test1()
 {
     $n = DataLayer::testLog();
     $this->expectOutputRegex('/^(\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2}\\sHello, world\\n){2}$/');
     $this->assertEquals(2, $n);
 }