@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | 1, |
96 | 96 | pq('#plugin__backlinks', $doc)->length, |
97 | 97 | 'There should be one backlinks element' |
98 | - ); |
|
98 | + ); |
|
99 | 99 | |
100 | 100 | $wikilinks = pq('#plugin__backlinks ul li', $doc); |
101 | 101 | dbglog($wikilinks->text(), 'found backlinks'); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | 5, |
104 | 104 | $wikilinks->contents()->length, |
105 | 105 | 'There should be 5 backlinks' |
106 | - ); |
|
106 | + ); |
|
107 | 107 | |
108 | 108 | $lastlink = pq('a:last', $wikilinks); |
109 | 109 | dbglog($lastlink->text(), "last backlink"); |
@@ -111,6 +111,6 @@ discard block |
||
111 | 111 | $lastlink->text(), |
112 | 112 | 'linking to a namespace', |
113 | 113 | 'The last backlink should be "linking to a namespace"' |
114 | - ); |
|
114 | + ); |
|
115 | 115 | } |
116 | 116 | } |
@@ -55,8 +55,8 @@ |
||
55 | 55 | public function test_plugin_backlinks_isloaded() { |
56 | 56 | global $plugin_controller; |
57 | 57 | $this->assertTrue( |
58 | - in_array('backlinks', $plugin_controller->getList()), |
|
59 | - "backlinks plugin is loaded" |
|
60 | - ); |
|
58 | + in_array('backlinks', $plugin_controller->getList()), |
|
59 | + "backlinks plugin is loaded" |
|
60 | + ); |
|
61 | 61 | } |
62 | 62 | } |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | 1, |
128 | 128 | pq('#plugin__backlinks', $doc)->length, |
129 | 129 | 'There should be one backlinks element' |
130 | - ); |
|
130 | + ); |
|
131 | 131 | |
132 | 132 | $wikilinks = pq('#plugin__backlinks ul li', $doc); |
133 | 133 | dbglog($wikilinks->text(), 'found backlinks'); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | 4, |
136 | 136 | $wikilinks->contents()->length, |
137 | 137 | 'There should be 4 backlinks' |
138 | - ); |
|
138 | + ); |
|
139 | 139 | |
140 | 140 | $lastlink = pq('a:last', $wikilinks); |
141 | 141 | dbglog($lastlink->text(), "last backlink"); |
@@ -143,6 +143,6 @@ discard block |
||
143 | 143 | $lastlink->text(), |
144 | 144 | 'A link to Bob Ross', |
145 | 145 | 'The last backlink should be a link to Bob Ross' |
146 | - ); |
|
146 | + ); |
|
147 | 147 | } |
148 | 148 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | 1, |
97 | 97 | pq('#plugin__backlinks', $doc)->length, |
98 | 98 | 'There should be one backlinks element' |
99 | - ); |
|
99 | + ); |
|
100 | 100 | |
101 | 101 | $wikilinks = pq('#plugin__backlinks ul li', $doc); |
102 | 102 | dbglog($wikilinks->text(), 'found backlinks'); |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | 3, |
105 | 105 | $wikilinks->contents()->length, |
106 | 106 | 'There should be 3 backlinks' |
107 | - ); |
|
107 | + ); |
|
108 | 108 | |
109 | 109 | $lastlink = pq('a:last', $wikilinks); |
110 | 110 | dbglog($lastlink->text(), "last backlink"); |
@@ -112,6 +112,6 @@ discard block |
||
112 | 112 | 'A link to Bob Ross', |
113 | 113 | $lastlink->text(), |
114 | 114 | 'The last backlink should be "A link to Bob Ross"' |
115 | - ); |
|
115 | + ); |
|
116 | 116 | } |
117 | 117 | } |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | 1, |
89 | 89 | pq('#plugin__backlinks', $doc)->length, |
90 | 90 | 'There should be one backlinks element' |
91 | - ); |
|
91 | + ); |
|
92 | 92 | |
93 | 93 | $wikilinks = pq('#plugin__backlinks ul li', $doc); |
94 | 94 | dbglog($wikilinks->text(), 'found backlinks'); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | 1, |
97 | 97 | $wikilinks->contents()->length, |
98 | 98 | 'There should be 1 backlink' |
99 | - ); |
|
99 | + ); |
|
100 | 100 | |
101 | 101 | $lastlink = pq('a:last', $wikilinks); |
102 | 102 | dbglog($lastlink->text(), "last backlink"); |
@@ -104,6 +104,6 @@ discard block |
||
104 | 104 | $lastlink->text(), |
105 | 105 | 'An included link to Bob Ross', |
106 | 106 | 'The last backlink should be "An included link to Bob Ross"' |
107 | - ); |
|
107 | + ); |
|
108 | 108 | } |
109 | 109 | } |