diff --git a/tests/Unit/ArticleControllerTest.php b/tests/Unit/ArticleControllerTest.php index 53f2a6aec..064796da7 100644 --- a/tests/Unit/ArticleControllerTest.php +++ b/tests/Unit/ArticleControllerTest.php @@ -34,16 +34,14 @@ class ArticleControllerTest extends TestCase $password = Hash::make($str); $email = $faker->unique()->email(); $user = new User([ - 'first_name' => $faker->firstName(), - 'last_name' => $faker->lastName(), - 'email' => $email, - 'user_name' => $faker->unique()->userName(), - 'password' => $password, - 'assign_group' => 1, - 'primary_dpt' => 1, - 'active' => 1, - 'role' => 'agent', - 'agent_tzone' => 81, + 'first_name' => $faker->firstName(), + 'last_name' => $faker->lastName(), + 'email' => $email, + 'user_name' => $faker->unique()->userName(), + 'password' => $password, + 'active' => 1, + 'role' => 'agent', + 'agent_tzone' => 81, ]); $user->save(); diff --git a/tests/Unit/CategoryControllerTest.php b/tests/Unit/CategoryControllerTest.php index de26e361d..808616e9a 100644 --- a/tests/Unit/CategoryControllerTest.php +++ b/tests/Unit/CategoryControllerTest.php @@ -36,8 +36,6 @@ class CategoryControllerTest extends TestCase 'email' => $email, 'user_name' => $faker->unique()->userName(), 'password' => $password, - 'assign_group' => 1, - 'primary_dpt' => 1, 'active' => 1, 'role' => 'agent', 'agent_tzone' => 81, diff --git a/tests/Unit/PageControllerTest.php b/tests/Unit/PageControllerTest.php index 081578ee5..041e5ee8b 100644 --- a/tests/Unit/PageControllerTest.php +++ b/tests/Unit/PageControllerTest.php @@ -33,8 +33,6 @@ class PageControllerTest extends TestCase 'email' => $email, 'user_name' => $faker->unique()->userName(), 'password' => $password, - 'assign_group' => 1, - 'primary_dpt' => 1, 'active' => 1, 'role' => 'agent', 'agent_tzone' => 81, diff --git a/tests/Unit/TicketControllerTest.php b/tests/Unit/TicketControllerTest.php index ae1c0834b..9f31b2dc3 100644 --- a/tests/Unit/TicketControllerTest.php +++ b/tests/Unit/TicketControllerTest.php @@ -34,8 +34,6 @@ class TicketControllerTest extends TestCase 'email' => $email, 'user_name' => $faker->unique()->userName(), 'password' => $password, - 'assign_group' => 1, - 'primary_dpt' => 1, 'active' => 1, 'role' => 'agent', 'agent_tzone' => 81,