@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * Simple test to make sure the plugin.info.txt is in correct format |
| 28 | 28 | */ |
| 29 | 29 | public function test_plugininfo() { |
| 30 | - $file = __DIR__ . '/../plugin.info.txt'; |
|
| 30 | + $file = __DIR__.'/../plugin.info.txt'; |
|
| 31 | 31 | $this->assertFileExists($file); |
| 32 | 32 | |
| 33 | 33 | $info = confToHash($file); |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | strpos($response->getContent(), 'A link to Bob Ross') !== false, |
| 65 | 65 | 'A link to Bob Ross was not in the output' |
| 66 | 66 | ); |
| 67 | - } |
|
| 67 | + } |
|
| 68 | 68 | |
| 69 | 69 | public function testBacklinks() { |
| 70 | 70 | $request = new TestRequest(); |
@@ -25,13 +25,13 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | protected $pluginsEnabled = array('backlinks'); |
| 27 | 27 | |
| 28 | - public static function setUpBeforeClass(){ |
|
| 28 | + public static function setUpBeforeClass() { |
|
| 29 | 29 | parent::setUpBeforeClass(); |
| 30 | 30 | |
| 31 | 31 | //print "Pages dir (before copy):\n"; |
| 32 | 32 | //print_r(scandir(DOKU_TMP_DATA.'pages/')); |
| 33 | 33 | |
| 34 | - TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/'); |
|
| 34 | + TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/'); |
|
| 35 | 35 | |
| 36 | 36 | //print "Pages dir (after copy):\n"; |
| 37 | 37 | //print_r(scandir(DOKU_TMP_DATA.'pages/')); |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | |
| 60 | - function tearDown(){ |
|
| 60 | + function tearDown() { |
|
| 61 | 61 | parent::tearDown(); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $this->assertEquals(1, $wikilink->length); |
| 122 | 122 | print "wikilink[0]:\n"; |
| 123 | 123 | print_r(pq($wikilink->contents()[0], $doc)); |
| 124 | - $this->assertEquals($wikilink->contents()[0],'A link to Bob Ross'); |
|
| 124 | + $this->assertEquals($wikilink->contents()[0], 'A link to Bob Ross'); |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | public function testInclude() { |