createDatabaseInterface(); //$_POST $_POST['primary_add_user'] = 'primary_add_user'; //$GLOBALS $GLOBALS['cfg']['MaxRows'] = 10; $GLOBALS['cfg']['ServerDefault'] = 'server'; $GLOBALS['cfg']['RememberSorting'] = true; $GLOBALS['cfg']['SQP'] = []; $GLOBALS['cfg']['MaxCharactersInDisplayedSQL'] = 1000; $GLOBALS['cfg']['ShowSQL'] = true; $GLOBALS['cfg']['TableNavigationLinksMode'] = 'icons'; $GLOBALS['cfg']['LimitChars'] = 100; $GLOBALS['cfg']['DBG']['sql'] = false; $GLOBALS['cfg']['ShowHint'] = true; $GLOBALS['table'] = 'table'; $GLOBALS['server'] = 0; $GLOBALS['urlParams'] = []; $this->replicationGui = new ReplicationGui(new Replication(), new Template()); } /** * @group medium */ public function testGetHtmlForPrimaryReplication(): void { $html = $this->replicationGui->getHtmlForPrimaryReplication(); //validate 1: Primary replication $this->assertStringContainsString('