From f8369d7d6e37248d6523fdac6e1d760fca4f1b52 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Wed, 18 Apr 2012 12:08:28 +0200 Subject: moved _testing to _test --- _test/tests/test/basic.test.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 _test/tests/test/basic.test.php (limited to '_test/tests/test/basic.test.php') diff --git a/_test/tests/test/basic.test.php b/_test/tests/test/basic.test.php new file mode 100644 index 000000000..ca788a91d --- /dev/null +++ b/_test/tests/test/basic.test.php @@ -0,0 +1,22 @@ +execute(); + + $this->assertTrue( + strpos($response->getContent(), 'DokuWiki') >= 0, + 'DokuWiki was not a word in the output' + ); + } +} -- cgit v1.2.3 From e37739ccaac4a28aa2176487a637cbdf3d1b85a0 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 20 Apr 2012 22:19:44 +0200 Subject: some cleanup removed unneeded data files, converted tabs to spaces --- _test/tests/test/basic.test.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '_test/tests/test/basic.test.php') diff --git a/_test/tests/test/basic.test.php b/_test/tests/test/basic.test.php index ca788a91d..b4926d2ba 100644 --- a/_test/tests/test/basic.test.php +++ b/_test/tests/test/basic.test.php @@ -4,19 +4,19 @@ * @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(); + /** + * 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(); + $response = $request->execute(); - $this->assertTrue( - strpos($response->getContent(), 'DokuWiki') >= 0, - 'DokuWiki was not a word in the output' - ); - } + $this->assertTrue( + strpos($response->getContent(), 'DokuWiki') >= 0, + 'DokuWiki was not a word in the output' + ); + } } -- cgit v1.2.3