Skip to content

Commit 4730361

Browse files
committed
chore: adjust test
1 parent e16a430 commit 4730361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/models/statistic_info_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class StatisticInfoTest < ActiveSupport::TestCase
1010
test "the default statistical interval should equal to env config" do
1111
statistic_info = StatisticInfo.new
1212

13-
assert_equal ENV["HASH_RATE_STATISTICAL_INTERVAL"], statistic_info.instance_variable_get(:@hash_rate_statistical_interval)
13+
assert_equal 100, statistic_info.instance_variable_get(:@hash_rate_statistical_interval)
1414
end
1515

1616
test "id should present" do

0 commit comments

Comments
 (0)