Completed
Push — master ( 5e0cf4...450790 )
by Ankit
02:58
created
tests/TestAll.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-    * @depends testAuthRegister
52
-    *  Register User2
53
-    */
51
+     * @depends testAuthRegister
52
+     *  Register User2
53
+     */
54 54
     public function testAuthRegister2()
55 55
     {
56 56
         $output = $this->obRegister->authRegister(
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-    * @depends testAuthRegister2
77
-    *  Testing for the register with empty username
78
-    */
76
+     * @depends testAuthRegister2
77
+     *  Testing for the register with empty username
78
+     */
79 79
     public function testCompose()
80 80
     {
81 81
         $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php'];
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-    * @depends testAuthRegister2
133
-    *  Testing for Search Class
134
-    */
132
+     * @depends testAuthRegister2
133
+     *  Testing for Search Class
134
+     */
135 135
     public function testSearch($userId)
136 136
     {
137 137
         $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php'];
@@ -170,9 +170,9 @@  discard block
 block discarded – undo
170 170
     }
171 171
 
172 172
     /**
173
-    * @depends testAuthRegister2
174
-    *  Testing for Reply Class
175
-    */
173
+     * @depends testAuthRegister2
174
+     *  Testing for Reply Class
175
+     */
176 176
     public function testReply($userId)
177 177
     {
178 178
         $msg = [
@@ -223,9 +223,9 @@  discard block
 block discarded – undo
223 223
     }
224 224
 
225 225
     /**
226
-    * @depends testAuthRegister2
227
-    *  Testing for Search Class
228
-    */
226
+     * @depends testAuthRegister2
227
+     *  Testing for Search Class
228
+     */
229 229
     public function testSearchWithTotalMessages($userId)
230 230
     {
231 231
         $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php'];
@@ -251,9 +251,9 @@  discard block
 block discarded – undo
251 251
 
252 252
 
253 253
     /**
254
-    *   @depends testSearchWithTotalMessages
255
-    *  Empty the DB
256
-    */
254
+     *   @depends testSearchWithTotalMessages
255
+     *  Empty the DB
256
+     */
257 257
     public function test_EmptyDB()
258 258
     {
259 259
         $connect = mysqli_connect(
Please login to merge, or discard this patch.
src/SideBar.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
                         if($substring != $userId)
48 48
                         {
49 49
                             $this->data($substring, $row);
50
-                        }
51
-                        else
50
+                        } else
52 51
                         {
53 52
                             $substring = substr($identifier, $length+1);
54 53
                             $this->Data($substring, $row);
Please login to merge, or discard this patch.