* * @noinspection AutoloadingIssuesInspection * @phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps */ class action_plugin_description_test extends DokuWikiTest { protected $pluginsEnabled = array('description'); /** * @throws Exception if anything goes wrong */ final public function testHeaders(): void { $request = new TestRequest(); $response = $request->get(array('id' => 'wiki:syntax')); // check description meta headers $this->assertStringContainsString( 'DokuWiki supports some simple markup language', $response->queryHTML('meta[name="description"]')->attr('content') ); } }