summaryrefslogtreecommitdiff
path: root/_test/tests/test/phpquery.test.php
blob: 188d834cbff6e8b4d9523e6ccf54f2df9727099e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/**
 * @group integration
 */
class InttestsPHPQueryTest extends DokuWikiTest {
    /**
     * Execute the simplest possible request and check the
     * meta generator tag is set to "DokuWiki"
     */
    function testSimpleRun() {
        $request = new TestRequest();

        $response = $request->execute();

        $this->assertEquals('DokuWiki', $response->queryHTML('meta[name="generator"]')->attr('content') );
    }
}