added parsedown extension for header ids (#388) (#399)

This commit is contained in:
Lukas
2018-11-18 20:31:37 +01:00
committed by Kevin Papst
parent b1c06eed7b
commit 321ac74b6a
13 changed files with 119 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ class HelpControllerTest extends ControllerBaseTest
$client = $this->getClientForAuthenticatedUser();
$this->request($client, '/help/');
$this->assertTrue($client->getResponse()->isSuccessful());
$this->assertContains('<h1>Kimai documentation</h1>', $client->getResponse()->getContent());
$this->assertContains('<h1 id="kimai-documentation">Kimai documentation</h1>', $client->getResponse()->getContent());
$this->assertContains('<a href="configurations">', $client->getResponse()->getContent());
$this->assertContains('<a href="developers">', $client->getResponse()->getContent());
$this->assertContains('<a href="users">', $client->getResponse()->getContent());