aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/associations/belongs_to_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb
index 2b8d01743f..81a2a161f2 100644
--- a/activerecord/test/cases/associations/belongs_to_associations_test.rb
+++ b/activerecord/test/cases/associations/belongs_to_associations_test.rb
@@ -1079,7 +1079,7 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase
end
comment = model.new
- comment.post_id = 10_000_000_000
+ comment.post_id = 9223372036854775808 # out of range in the bigint
assert_nil comment.post
assert_not comment.valid?