Fix merge conflicts from 4.7.9 release
[phpmyadmin.git] / test / classes / Engines / BinlogTest.php
blob714d4640066170e29433fbe0b82d95b7d05d77fe
1 <?php
2 /**
3 * Tests for PMA_StorageEngine_binlog
5 * @package PhpMyAdmin-test
6 */
7 namespace PhpMyAdmin\Tests\Engines;
9 use PhpMyAdmin\Engines\Binlog;
10 use PhpMyAdmin\Tests\PmaTestCase;
12 /**
13 * Tests for PhpMyAdmin\Engines\Binlog
15 * @package PhpMyAdmin-test
17 class BinlogTest extends PmaTestCase
19 /**
20 * @access protected
22 protected $object;
24 /**
25 * Sets up the fixture, for example, opens a network connection.
26 * This method is called before a test is executed.
28 * @access protected
29 * @return void
31 protected function setUp()
33 $GLOBALS['server'] = 0;
34 $this->object = new Binlog('binlog');
37 /**
38 * Tears down the fixture, for example, closes a network connection.
39 * This method is called after a test is executed.
41 * @access protected
42 * @return void
44 protected function tearDown()
46 unset($this->object);
50 /**
51 * Test for getMysqlHelpPage
53 * @return void
55 public function testGetMysqlHelpPage()
57 $this->assertEquals(
58 $this->object->getMysqlHelpPage(),
59 'binary-log'