summaryrefslogtreecommitdiff
path: root/_test/tests/test/basic.test.php
blob: b4926d2ba522e80a67776c5b50708a5e0bc635e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * @group integration
 */
class InttestsBasicTest extends DokuWikiTest {
    /**
     * Execute the simplest possible request and expect
     * a dokuwiki page which obviously has the word "DokuWiki"
     * in it somewhere.
     */
    function testSimpleRun() {
        $request = new TestRequest();

        $response = $request->execute();

        $this->assertTrue(
            strpos($response->getContent(), 'DokuWiki') >= 0,
            'DokuWiki was not a word in the output'
        );
    }
}