[], 'task' => ['timestamp']]); $dbi = $this->createDatabaseInterface(); $GLOBALS['dbi'] = $dbi; $response = new ResponseRenderer(); $template = new Template(); $controller = new NewTablesController( $response, $template, new Normalization($dbi, new Relation($dbi), new Transformations(), $template) ); $controller($this->createStub(ServerRequest::class)); // phpcs:disable Generic.Files.LineLength.TooLong $this->assertSame( '
In order to put the original table \'test_table\' into Second normal form we need to create the following tables:
( ID, task )
( task, timestamp )', $response->getHTMLResult() ); // phpcs:enable } }