diff --git a/tests/Feature/Api/UsersTest.php b/tests/Feature/Api/UsersTest.php index 3c9dbbd61d..e728593866 100644 --- a/tests/Feature/Api/UsersTest.php +++ b/tests/Feature/Api/UsersTest.php @@ -196,7 +196,7 @@ public function testDefaultValuesOfUser() 'lastname' => $faker->lastName(), 'email' => $faker->email(), 'status' => $faker->randomElement(['ACTIVE', 'INACTIVE']), - 'password' => $faker->password(8) . 'A' . '1', + 'password' => $faker->password(8) . 'A' . '1' . '+', 'timezone' => 'America/Monterrey', ]); diff --git a/tests/Feature/RedirectTest.php b/tests/Feature/RedirectTest.php index f595a5100b..0da2c3e6b3 100644 --- a/tests/Feature/RedirectTest.php +++ b/tests/Feature/RedirectTest.php @@ -24,11 +24,11 @@ public function test401RedirectsToLogin() 'is_administrator' => false, ]); Auth::login($user); - $response = $this->get('/cases'); + $response = $this->get('/requests'); $response->assertStatus(200); $response->assertViewIs('requests.index'); Auth::logoutCurrentDevice(); - $response = $this->get('/cases'); + $response = $this->get('/requests'); //302 because we want to make sure they are being redirected $response->assertStatus(302); } diff --git a/tests/Feature/RequestTest.php b/tests/Feature/RequestTest.php index ee2138d301..f39421c5ec 100644 --- a/tests/Feature/RequestTest.php +++ b/tests/Feature/RequestTest.php @@ -45,7 +45,7 @@ class RequestTest extends TestCase public function testIndexRoute() { // get the URL - $response = $this->webCall('GET', '/cases'); + $response = $this->webCall('GET', '/requests'); $response->assertStatus(200); // check the correct view is called $response->assertViewIs('requests.index');