Completed
Pull Request — master (#9)
by Mark
02:04
created
_test/general.test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
_test/syntax.test.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,22 +25,22 @@  discard block
 block discarded – undo
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/'));
38 38
 
39 39
         // TODO do this in a loop or use commandline indexer
40
-        idx_addPage('wiki:dokuwiki',true);
41
-        idx_addPage('bob_ross_says',true);
42
-        idx_addPage('link',true);
43
-        idx_addPage('backlink',true);
40
+        idx_addPage('wiki:dokuwiki', true);
41
+        idx_addPage('bob_ross_says', true);
42
+        idx_addPage('link', true);
43
+        idx_addPage('backlink', true);
44 44
 
45 45
         print "Index dir (after copy):\n";
46 46
         print_r(scandir(DOKU_TMP_DATA.'index/'));
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
 
58
-    function tearDown(){
58
+    function tearDown() {
59 59
         parent::tearDown();
60 60
     }
61 61
 
Please login to merge, or discard this patch.