@@ -47,9 +47,9 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @depends test_authRegister |
|
| 51 | - * Testing for the login with correct credentials |
|
| 52 | - */ |
|
| 50 | + * @depends test_authRegister |
|
| 51 | + * Testing for the login with correct credentials |
|
| 52 | + */ |
|
| 53 | 53 | |
| 54 | 54 | public function test_authLogin() |
| 55 | 55 | { |
@@ -73,9 +73,9 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @depends test_authRegister |
|
| 77 | - * Testing for the login with empty credentials |
|
| 78 | - */ |
|
| 76 | + * @depends test_authRegister |
|
| 77 | + * Testing for the login with empty credentials |
|
| 78 | + */ |
|
| 79 | 79 | |
| 80 | 80 | public function test_authLoginEmptyValues() |
| 81 | 81 | { |
@@ -101,9 +101,9 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @depends test_authRegister |
|
| 105 | - * Testing for the login with invalid or wrong email |
|
| 106 | - */ |
|
| 104 | + * @depends test_authRegister |
|
| 105 | + * Testing for the login with invalid or wrong email |
|
| 106 | + */ |
|
| 107 | 107 | |
| 108 | 108 | public function test_authLoginWrongEmail() |
| 109 | 109 | { |
@@ -125,9 +125,9 @@ discard block |
||
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | - * @depends test_authRegister |
|
| 129 | - * Testing for the login with invalid email credentials |
|
| 130 | - */ |
|
| 128 | + * @depends test_authRegister |
|
| 129 | + * Testing for the login with invalid email credentials |
|
| 130 | + */ |
|
| 131 | 131 | public function test_authLoginInvalidUsernameEmail() |
| 132 | 132 | { |
| 133 | 133 | $output = $this->obLogin->authLogin( |
@@ -148,9 +148,9 @@ discard block |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - * @depends test_authRegister |
|
| 152 | - * Testing for the login with invalid password credentials |
|
| 153 | - */ |
|
| 151 | + * @depends test_authRegister |
|
| 152 | + * Testing for the login with invalid password credentials |
|
| 153 | + */ |
|
| 154 | 154 | public function test_authLoginInvalidPassword() |
| 155 | 155 | { |
| 156 | 156 | $output = $this->obLogin->authLogin( |
@@ -170,9 +170,9 @@ discard block |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * @depends test_authRegister |
|
| 174 | - * Testing for the Profile::class with valid login_id |
|
| 175 | - */ |
|
| 173 | + * @depends test_authRegister |
|
| 174 | + * Testing for the Profile::class with valid login_id |
|
| 175 | + */ |
|
| 176 | 176 | public function test_getProfile() |
| 177 | 177 | { |
| 178 | 178 | $output = Profile::getProfile(1); |
@@ -185,9 +185,9 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | - * @depends test_authRegister |
|
| 189 | - * Testing for the Profile::class with invalid login_id |
|
| 190 | - */ |
|
| 188 | + * @depends test_authRegister |
|
| 189 | + * Testing for the Profile::class with invalid login_id |
|
| 190 | + */ |
|
| 191 | 191 | public function test_getProfileInvalidID() |
| 192 | 192 | { |
| 193 | 193 | $output = Profile::getProfile(0); |
@@ -195,9 +195,9 @@ discard block |
||
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | /** |
| 198 | - * @depends test_authRegister |
|
| 199 | - * Testing for the User::class with valid login_id |
|
| 200 | - */ |
|
| 198 | + * @depends test_authRegister |
|
| 199 | + * Testing for the User::class with valid login_id |
|
| 200 | + */ |
|
| 201 | 201 | public function test_userDetails() |
| 202 | 202 | { |
| 203 | 203 | $expectedOutput = [ |
@@ -216,9 +216,9 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @depends test_authRegister |
|
| 220 | - * Testing for the User::class with invalid data |
|
| 221 | - */ |
|
| 219 | + * @depends test_authRegister |
|
| 220 | + * Testing for the User::class with invalid data |
|
| 221 | + */ |
|
| 222 | 222 | public function test_userDetailsInvalidID() |
| 223 | 223 | { |
| 224 | 224 | $output = $this->obUser->userDetails(0, True); |
@@ -227,9 +227,9 @@ discard block |
||
| 227 | 227 | |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @depends test_userDetails |
|
| 231 | - * Empty the DB |
|
| 232 | - */ |
|
| 230 | + * @depends test_userDetails |
|
| 231 | + * Empty the DB |
|
| 232 | + */ |
|
| 233 | 233 | public function test_EmptyDB() |
| 234 | 234 | { |
| 235 | 235 | $connect = mysqli_connect( |