xref: /dokuwiki/_test/tests/test/basic.test.php (revision 5a0eec47d375f076d810160503bdd303f8cf62a0)
1<?php
2
3/**
4 * @group integration
5 */
6class InttestsBasicTest extends DokuWikiTest {
7	/**
8	 * Execute the simplest possible request and expect
9	 * a dokuwiki page which obviously has the word "DokuWiki"
10	 * in it somewhere.
11	 */
12	function testSimpleRun() {
13		$request = new TestRequest();
14
15		$response = $request->execute();
16
17		$this->assertTrue(
18			strpos($response->getContent(), 'DokuWiki') >= 0,
19			'DokuWiki was not a word in the output'
20		);
21	}
22}
23