| @@ 95-103 (lines=9) @@ | ||
| 92 | ); |
|
| 93 | } |
|
| 94 | ||
| 95 | public function testLinksPage() { |
|
| 96 | $request = new TestRequest(); |
|
| 97 | $response = $request->get(array('id'=>'link'), '/doku.php'); |
|
| 98 | ||
| 99 | $this->assertTrue( |
|
| 100 | strpos($response->getContent(), 'A link to Bob Ross') !== false, |
|
| 101 | '"A link to Bob Ross" was not in the output' |
|
| 102 | ); |
|
| 103 | } |
|
| 104 | ||
| 105 | public function testStoryPage() { |
|
| 106 | $request = new TestRequest(); |
|
| @@ 105-113 (lines=9) @@ | ||
| 102 | ); |
|
| 103 | } |
|
| 104 | ||
| 105 | public function testStoryPage() { |
|
| 106 | $request = new TestRequest(); |
|
| 107 | $response = $request->get(array('id'=>'bob_ross_says'), '/doku.php'); |
|
| 108 | ||
| 109 | $this->assertTrue( |
|
| 110 | strpos($response->getContent(), 'Bob Ross says') !== false, |
|
| 111 | '"Bob Ross says" was not in the output' |
|
| 112 | ); |
|
| 113 | } |
|
| 114 | ||
| 115 | public function testBacklinks() { |
|
| 116 | $request = new TestRequest(); |
|