Maintenance: Frozen time makes History entry order unpredictable in MySQL environment tests.
This commit is contained in:
parent
bcd805134d
commit
c11c0e7513
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ returns
|
|||
)
|
||||
end
|
||||
|
||||
histories = histories.order(:created_at)
|
||||
histories = histories.order(:created_at, :id)
|
||||
|
||||
list = histories.map(&:attributes).each do |data|
|
||||
data['object'] = History::Object.lookup(id: data.delete('history_object_id'))&.name
|
||||
|
|
Loading…
Reference in a new issue