aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapter_test.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2017-02-07 00:03:10 -0700
committerGitHub <noreply@github.com>2017-02-07 00:03:10 -0700
commit383c4de2df17cd4168274c96e379292262f29189 (patch)
treee185a32d2c4794babc607b21fdcaa0005065b7ad /activerecord/test/cases/adapter_test.rb
parent875439409424d60f6dadc123946b40c3af142aa9 (diff)
parent14db455156cf822f1af738f24528200ae19efc1c (diff)
downloadrails-383c4de2df17cd4168274c96e379292262f29189.tar.gz
rails-383c4de2df17cd4168274c96e379292262f29189.tar.bz2
rails-383c4de2df17cd4168274c96e379292262f29189.zip
Merge pull request #27334 from kamipo/pk_and_ref_columns_should_be_identical_type
`primary_key` and `references` columns should be identical type
Diffstat (limited to 'activerecord/test/cases/adapter_test.rb')
-rw-r--r--activerecord/test/cases/adapter_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapter_test.rb b/activerecord/test/cases/adapter_test.rb
index a2b7d53205..0c9d1dff9d 100644
--- a/activerecord/test/cases/adapter_test.rb
+++ b/activerecord/test/cases/adapter_test.rb
@@ -194,7 +194,7 @@ module ActiveRecord
def test_numeric_value_out_of_ranges_are_translated_to_specific_exception
error = assert_raises(ActiveRecord::RangeError) do
- Book.connection.create("INSERT INTO books(author_id) VALUES (2147483648)")
+ Book.connection.create("INSERT INTO books(author_id) VALUES (9223372036854775808)")
end
assert_not_nil error.cause