Maintenance: Fixed random error in time accountings test because of invalid 0 value for column time_unit (which is not allowed).
This commit is contained in:
parent
40c3e68924
commit
f305b70c95
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
FactoryBot.define do
|
||||
factory :'ticket/time_accounting', aliases: %i[ticket_time_accounting] do
|
||||
ticket
|
||||
time_unit { rand(100) }
|
||||
time_unit { rand(1..100) }
|
||||
created_by_id { 1 }
|
||||
|
||||
trait :for_article do
|
||||
|
|
Loading…
Reference in a new issue