@@ -8,7 +8,6 @@ |
||
8 | 8 | use ChatApp\Compose; |
9 | 9 | use ChatApp\Reply; |
10 | 10 | use ChatApp\Session; |
11 | - |
|
12 | 11 | use Dotenv\Dotenv; |
13 | 12 | $dotenv = new Dotenv(dirname(__DIR__)); |
14 | 13 | $dotenv->load(); |
@@ -48,9 +48,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 = [ |
@@ -224,9 +224,9 @@ discard block |
||
224 | 224 | |
225 | 225 | |
226 | 226 | /** |
227 | - * @depends testReply |
|
228 | - * Empty the DB |
|
229 | - */ |
|
227 | + * @depends testReply |
|
228 | + * Empty the DB |
|
229 | + */ |
|
230 | 230 | public function test_EmptyDB() |
231 | 231 | { |
232 | 232 | $connect = mysqli_connect( |