Пример #1
0
 /**
  * Tests Mysqldump::useExtendedInsert
  */
 public function testUseExtendedInsert()
 {
     $path = realpath(__DIR__ . '/../../../_files/bin');
     $mysqldump = new Mysqldump($path);
     $mysqldump->useExtendedInsert(true);
     $cmd = $mysqldump->getCommandLine();
     $this->assertEquals($path . '/mysqldump -e --all-databases 2> /dev/null', $cmd);
 }