diff options
Diffstat (limited to '_testing/integrationtests/basic/basic.test.php')
-rw-r--r-- | _testing/integrationtests/basic/basic.test.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_testing/integrationtests/basic/basic.test.php b/_testing/integrationtests/basic/basic.test.php new file mode 100644 index 000000000..56cef965f --- /dev/null +++ b/_testing/integrationtests/basic/basic.test.php @@ -0,0 +1,14 @@ +<?php + +class BasicTest extends PHPUnit_Framework_TestCase { + function testSimpleRun() { + $request = new TestRequest(); + + $response = $request->execute(); + + $this->assertTrue( + strpos($response->getContent(), 'DokuWiki') >= 0, + 'DokuWiki was not a word in the output' + ); + } +} |