@@ -49,9 +49,9 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @depends testAuthRegister |
|
| 53 | - * Register User2 |
|
| 54 | - */ |
|
| 52 | + * @depends testAuthRegister |
|
| 53 | + * Register User2 |
|
| 54 | + */ |
|
| 55 | 55 | public function testAuthRegister2() |
| 56 | 56 | { |
| 57 | 57 | $output = $this->obRegister->authRegister( |
@@ -76,9 +76,9 @@ discard block |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @depends testAuthRegister2 |
|
| 80 | - * Testing for the register with empty username |
|
| 81 | - */ |
|
| 79 | + * @depends testAuthRegister2 |
|
| 80 | + * Testing for the register with empty username |
|
| 81 | + */ |
|
| 82 | 82 | public function testCompose() |
| 83 | 83 | { |
| 84 | 84 | $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php']; |
@@ -133,9 +133,9 @@ discard block |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @depends testAuthRegister2 |
|
| 137 | - * Testing for Search Class |
|
| 138 | - */ |
|
| 136 | + * @depends testAuthRegister2 |
|
| 137 | + * Testing for Search Class |
|
| 138 | + */ |
|
| 139 | 139 | public function testSearch($userId) |
| 140 | 140 | { |
| 141 | 141 | $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php']; |
@@ -175,9 +175,9 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | - * @depends testAuthRegister2 |
|
| 179 | - * Testing for Reply Class |
|
| 180 | - */ |
|
| 178 | + * @depends testAuthRegister2 |
|
| 179 | + * Testing for Reply Class |
|
| 180 | + */ |
|
| 181 | 181 | public function testReply($userId) |
| 182 | 182 | { |
| 183 | 183 | $msg = [ |
@@ -228,9 +228,9 @@ discard block |
||
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | - * @depends testReply |
|
| 232 | - * Testing for Search Class |
|
| 233 | - */ |
|
| 231 | + * @depends testReply |
|
| 232 | + * Testing for Search Class |
|
| 233 | + */ |
|
| 234 | 234 | public function testSearchWithTotalMessages() |
| 235 | 235 | { |
| 236 | 236 | $expectedOutput = ['location' => 'http://127.0.0.1/openchat/views/account.php']; |
@@ -257,9 +257,9 @@ discard block |
||
| 257 | 257 | |
| 258 | 258 | |
| 259 | 259 | /** |
| 260 | - * @depends testSearchWithTotalMessages |
|
| 261 | - * Empty the DB |
|
| 262 | - */ |
|
| 260 | + * @depends testSearchWithTotalMessages |
|
| 261 | + * Empty the DB |
|
| 262 | + */ |
|
| 263 | 263 | public function test_EmptyDB() |
| 264 | 264 | { |
| 265 | 265 | $connect = mysqli_connect( |