Completed
Pull Request — master (#9)
by Mark
02:16
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             strpos($response->getContent(), 'A link to Bob Ross') !== false,
104 104
             'A link to Bob Ross was not in the output'
105 105
         );
106
-     }
106
+        }
107 107
 
108 108
     public function testBacklinks() {
109 109
         $request = new TestRequest();
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         //print "wikilink[0]:\n";
127 127
         //print_r(pq($wikilink->contents()[0], $doc));
128 128
         $this->assertEquals($wikilink->contents()[0],'A link to Bob Ross',
129
-                           'There should be a link to Bob Ross');
129
+                            'There should be a link to Bob Ross');
130 130
     }
131 131
 
132 132
     public function testInclude() {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@  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
         global $conf;
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/'));
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $verbose = true;
48 48
         $force = false;
49
-        foreach($data as $val) {
49
+        foreach ($data as $val) {
50 50
             idx_addPage($val['id'], $verbose, $force);
51 51
         }
52 52
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
 
66
-    function tearDown(){
66
+    function tearDown() {
67 67
         parent::tearDown();
68 68
     }
69 69
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         $this->assertEquals(1, $wikilink->length, 'There should be one link');
126 126
         //print "wikilink[0]:\n";
127 127
         //print_r(pq($wikilink->contents()[0], $doc));
128
-        $this->assertEquals($wikilink->contents()[0],'A link to Bob Ross',
128
+        $this->assertEquals($wikilink->contents()[0], 'A link to Bob Ross',
129 129
                            'There should be a link to Bob Ross');
130 130
     }
131 131
 
Please login to merge, or discard this patch.