Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jul 18, 2024
1 parent e416464 commit d66c5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Requests/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
});

it('has sometimes rule for inputs', function() {
expect('sometimes')->toBeIn(array_get((new UserRequest)->rules(), 'password'))
expect('nullable')->toBeIn(array_get((new UserRequest)->rules(), 'password'))
->and('sometimes')->toBeIn(array_get((new UserRequest)->rules(), 'user_role_id'))
->and('sometimes')->toBeIn(array_get((new UserRequest)->rules(), 'groups'));
});
Expand Down

0 comments on commit d66c5f6

Please sign in to comment.