Guest User

Untitled

a guest
Apr 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. ## sqlite3 (3.5.6) - 8 failures, 2 errors
  2.  
  3. 1) Failure:
  4. test_eager_with_has_many_and_limit_and_conditions_array_on_the_eagers(EagerAssociationTest)
  5. [./test/cases/associations/eager_test.rb:255:in `test_eager_with_has_many_and_limit_and_conditions_array_on_the_eagers'
  6. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  7. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  8. <2> expected but was
  9. <0>.
  10.  
  11. 2) Failure:
  12. test_eager_with_has_many_and_limit_and_conditions_on_the_eagers(EagerAssociationTest)
  13. [./test/cases/associations/eager_test.rb:304:in `test_eager_with_has_many_and_limit_and_conditions_on_the_eagers'
  14. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  15. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  16. <2> expected but was
  17. <0>.
  18.  
  19. 3) Failure:
  20. test_eager_with_has_many_and_limit_and_scoped_and_explicit_conditions_on_the_eagers(EagerAssociationTest)
  21. [./test/cases/associations/eager_test.rb:340:in `test_eager_with_has_many_and_limit_and_scoped_and_explicit_conditions_on_the_eagers'
  22. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  23. ./test/cases/associations/eager_test.rb:334:in `test_eager_with_has_many_and_limit_and_scoped_and_explicit_conditions_on_the_eagers'
  24. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  25. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  26. <2> expected but was
  27. <0>.
  28.  
  29. 4) Failure:
  30. test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers(EagerAssociationTest)
  31. [./test/cases/associations/eager_test.rb:321:in `test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers'
  32. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  33. ./test/cases/associations/eager_test.rb:316:in `test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers'
  34. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  35. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  36. <2> expected but was
  37. <0>.
  38.  
  39. 5) Failure:
  40. test_limited_eager_with_multiple_order_columns(EagerAssociationTest)
  41. [./test/cases/associations/eager_test.rb:432:in `test_limited_eager_with_multiple_order_columns'
  42. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  43. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  44. <[#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", type: "SpecialPost", body: "Like I hopefully always am", comments_count: 0, taggings_count: 0>,
  45. #<Post id: 4, author_id: 1, title: "sti comments", type: "Post", body: "hello", comments_count: 0, taggings_count: 0>]> expected but was
  46. <[]>.
  47.  
  48. 6) Failure:
  49. test_limited_eager_with_order(EagerAssociationTest)
  50. [./test/cases/associations/eager_test.rb:427:in `test_limited_eager_with_order'
  51. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  52. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  53. <[#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", type: "SpecialPost", body: "Like I hopefully always am", comments_count: 0, taggings_count: 0>,
  54. #<Post id: 4, author_id: 1, title: "sti comments", type: "Post", body: "hello", comments_count: 0, taggings_count: 0>]> expected but was
  55. <[]>.
  56.  
  57. 7) Failure:
  58. test_select_limited_ids_list(HasAndBelongsToManyAssociationsTest)
  59. [./test/cases/associations_test.rb:2262:in `test_select_limited_ids_list'
  60. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  61. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  62. <["1", "2"]> expected but was
  63. <[]>.
  64.  
  65. 8) Failure:
  66. test_native_types(MigrationTest)
  67. [./test/cases/migration_test.rb:361:in `test_native_types'
  68. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  69. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  70. <0> expected to be != to
  71. <Rational(0, 1)>.
  72.  
  73. 9) Error:
  74. test_nested_scoped_find_include(NestedScopingTest):
  75. NoMethodError: undefined method `name' for nil:NilClass
  76. ./test/cases/method_scoping_test.rb:185:in `test_nested_scoped_find_include'
  77. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  78. ./test/cases/method_scoping_test.rb:183:in `test_nested_scoped_find_include'
  79. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  80. ./test/cases/method_scoping_test.rb:182:in `test_nested_scoped_find_include'
  81. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  82. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'
  83.  
  84. 10) Error:
  85. test_nested_scoped_find_merged_include(NestedScopingTest):
  86. NoMethodError: undefined method `name' for nil:NilClass
  87. ./test/cases/method_scoping_test.rb:195:in `test_nested_scoped_find_merged_include'
  88. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  89. ./test/cases/method_scoping_test.rb:193:in `test_nested_scoped_find_merged_include'
  90. ./test/cases/../../lib/active_record/base.rb:1768:in `with_scope'
  91. ./test/cases/method_scoping_test.rb:192:in `test_nested_scoped_find_merged_include'
  92. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  93. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'
  94.  
  95. 1298 tests, 4694 assertions, 8 failures, 2 errors
  96.  
  97. ## mysql (5.0.51) - 2 failures, 2 errors
  98.  
  99. 1) Error:
  100. test_should_construct_new_finder_sql_after_create(AssociationsTest):
  101. ActiveRecord::StatementInvalid: Mysql::Error: Column 'first_name' cannot be null: INSERT INTO `people` (`lock_version`, `first_name`) VALUES(0, NULL)
  102. ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'
  103. ./test/cases/../../lib/active_record/connection_adapters/mysql_adapter.rb:299:in `execute_without_counting'
  104. ./test/cases/helper.rb:46:in `execute'
  105. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:156:in `insert_sql'
  106. ./test/cases/../../lib/active_record/connection_adapters/mysql_adapter.rb:309:in `insert_sql'
  107. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert_without_query_dirty'
  108. ./test/cases/../../lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert'
  109. ./test/cases/../../lib/active_record/base.rb:2405:in `create_without_callbacks'
  110. ./test/cases/../../lib/active_record/callbacks.rb:220:in `create_without_timestamps'
  111. ./test/cases/../../lib/active_record/timestamp.rb:29:in `create'
  112. ./test/cases/../../lib/active_record/base.rb:2371:in `create_or_update_without_callbacks'
  113. ./test/cases/../../lib/active_record/callbacks.rb:207:in `create_or_update'
  114. ./test/cases/../../lib/active_record/base.rb:2118:in `save_without_validation!'
  115. ./test/cases/../../lib/active_record/validations.rb:907:in `save_without_transactions!'
  116. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  117. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  118. ./test/cases/../../lib/active_record/transactions.rb:79:in `transaction'
  119. ./test/cases/../../lib/active_record/transactions.rb:98:in `transaction'
  120. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  121. ./test/cases/../../lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
  122. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  123. ./test/cases/associations_test.rb:46:in `test_should_construct_new_finder_sql_after_create'
  124. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  125. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'
  126.  
  127. 2) Error:
  128. test_find_on_abstract_base_class_doesnt_use_type_condition(BasicsTest):
  129. ActiveRecord::StatementInvalid: Mysql::Error: Column 'first_name' cannot be null: INSERT INTO `people` (`lock_version`, `first_name`) VALUES(0, NULL)
  130. ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'
  131. ./test/cases/../../lib/active_record/connection_adapters/mysql_adapter.rb:299:in `execute_without_counting'
  132. ./test/cases/helper.rb:46:in `execute'
  133. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:156:in `insert_sql'
  134. ./test/cases/../../lib/active_record/connection_adapters/mysql_adapter.rb:309:in `insert_sql'
  135. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert_without_query_dirty'
  136. ./test/cases/../../lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert'
  137. ./test/cases/../../lib/active_record/base.rb:2405:in `create_without_callbacks'
  138. ./test/cases/../../lib/active_record/callbacks.rb:220:in `create_without_timestamps'
  139. ./test/cases/../../lib/active_record/timestamp.rb:29:in `create'
  140. ./test/cases/../../lib/active_record/base.rb:2371:in `create_or_update_without_callbacks'
  141. ./test/cases/../../lib/active_record/callbacks.rb:207:in `create_or_update'
  142. ./test/cases/../../lib/active_record/base.rb:2118:in `save_without_validation!'
  143. ./test/cases/../../lib/active_record/validations.rb:907:in `save_without_transactions!'
  144. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  145. ./test/cases/../../lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  146. ./test/cases/../../lib/active_record/transactions.rb:79:in `transaction'
  147. ./test/cases/../../lib/active_record/transactions.rb:98:in `transaction'
  148. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  149. ./test/cases/../../lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
  150. ./test/cases/../../lib/active_record/transactions.rb:110:in `save!'
  151. ./test/cases/../../lib/active_record/validations.rb:878:in `create!'
  152. ./test/cases/base_test.rb:1697:in `test_find_on_abstract_base_class_doesnt_use_type_condition'
  153. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  154. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'
  155.  
  156. 3) Failure:
  157. test_nil_defaults_for_not_null_columns(DefaultTest)
  158. [./test/cases/defaults_test.rb:17:in `test_nil_defaults_for_not_null_columns'
  159. ./test/cases/defaults_test.rb:14:in `each'
  160. ./test/cases/defaults_test.rb:14:in `test_nil_defaults_for_not_null_columns'
  161. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  162. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  163. name column should be DEFAULT "".
  164. <""> expected but was
  165. <nil>.
  166.  
  167. 4) Failure:
  168. test_native_types(MigrationTest)
  169. [./test/cases/migration_test.rb:361:in `test_native_types'
  170. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'
  171. ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']:
  172. <0> expected to be != to
  173. <Rational(0, 1)>.
  174.  
  175. 1328 tests, 4760 assertions, 2 failures, 2 errors
Add Comment
Please, Sign In to add comment