blob: ff4b2d5c1e011562ab856201cbc0773f61b378f9 (
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 PHPUnit_Framework_TestCase {
/**
* 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'
);
}
}
|