test/commands/test_taxes.rb in zold-0.31.5 vs test/commands/test_taxes.rb in zold-0.31.6
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-# Copyright (c) 2018-2023 Zerocracy, Inc.
+# Copyright (c) 2018-2023 Zerocracy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -44,10 +44,10 @@
fund = Zold::Amount.new(zld: 19.99)
10.times do |i|
wallet.add(
Zold::Txn.new(
i + 1,
- Time.now - 24 * 60 * 60 * 365 * 300,
+ Time.now - (24 * 60 * 60 * 365 * 300),
fund,
'NOPREFIX', Zold::Id.new, '-'
)
)
end