summaryrefslogtreecommitdiff
path: root/_testing/tests/testing/inttests_basic.test.php
diff options
context:
space:
mode:
Diffstat (limited to '_testing/tests/testing/inttests_basic.test.php')
-rw-r--r--_testing/tests/testing/inttests_basic.test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/_testing/tests/testing/inttests_basic.test.php b/_testing/tests/testing/inttests_basic.test.php
new file mode 100644
index 000000000..ff4b2d5c1
--- /dev/null
+++ b/_testing/tests/testing/inttests_basic.test.php
@@ -0,0 +1,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'
+ );
+ }
+}