Guest User

Untitled

a guest
Jul 16th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.30 KB | None | 0 0
  1. (in /Users/koke/Code/eboxhq/redmine)
  2. Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS.
  3. Git test repository NOT FOUND. Skipping unit tests !!!
  4. * DEFERRED: Project#copy should copy custom fields.
  5. * DEFERRED: Project#copy should copy issue relations.
  6. * DEFERRED: Project#copy should link issue relations if cross project issue relations are valid.
  7. Bazaar test repository NOT FOUND. Skipping unit tests !!!
  8. CVS test repository NOT FOUND. Skipping unit tests !!!
  9. Darcs test repository NOT FOUND. Skipping unit tests !!!
  10. Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS.
  11. Git test repository NOT FOUND. Skipping unit tests !!!
  12. Mercurial test repository NOT FOUND. Skipping unit tests !!!
  13. Subversion test repository NOT FOUND. Skipping unit tests !!!
  14. Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
  15. Started
  16. ..................................F.............F...................E..FFE..EE.FEEEEE.......EEFFE..EE..EFFEFEFEEEEEEFFFEF.EEEFFEEEEEEEEFFF.FFFFFFFFFFF.FFF..EEEEEEEEEE.EE.E.FEF.EEE..EEEEEEEE.FF..F....FEFFFFFFFFF....................E.EEEF.....FF..EFF.EEEEEEEEEEEEEE.F..FFF.EEEEEEEEEEEEEEEF...FFF............E.....................EE.EEEEEEEEEEEEEEEEEEEE.....EEEEE................EEEE..E..FE...E...F.E..EEEF...E.........EEEEEEEEEEEEEE.E..F.F..FEE..F..FE..
  17. Finished in 51.797725 seconds.
  18.  
  19. 1) Failure:
  20. test_should_strip_ldap_attributes(AuthSourceLdapTest) [/test/unit/auth_source_ldap_test.rb:33]:
  21. <false> is not true.
  22.  
  23. 2) Failure:
  24. test_destroy(CommentTest) [/test/unit/comment_test.rb:45]:
  25. <0> expected but was
  26. <1>.
  27.  
  28. 3) Error:
  29. test_objects_count(DocumentCategoryTest):
  30. NoMethodError: You have a nil object when you didn't expect it!
  31. The error occurred while evaluating nil.objects_count
  32. /test/unit/document_category_test.rb:28:in `test_objects_count'
  33.  
  34. 4) Failure:
  35. test_create(DocumentTest) [/test/unit/document_test.rb:25]:
  36. <false> is not true.
  37.  
  38. 5) Failure:
  39. test_create_should_send_email_notification(DocumentTest) [/test/unit/document_test.rb:33]:
  40. <false> is not true.
  41.  
  42. 6) Error:
  43. test_create_with_default_category(DocumentTest):
  44. NoMethodError: You have a nil object when you didn't expect it!
  45. You might have expected an instance of ActiveRecord::Base.
  46. The error occurred while evaluating nil.update_attributes
  47. /test/unit/document_test.rb:40:in `test_create_with_default_category'
  48.  
  49. 7) Error:
  50. test_change_default(EnumerationTest):
  51. NoMethodError: You have a nil object when you didn't expect it!
  52. You might have expected an instance of ActiveRecord::Base.
  53. The error occurred while evaluating nil.update_attributes
  54. /test/unit/enumeration_test.rb:75:in `test_change_default'
  55.  
  56. 8) Error:
  57. test_create(EnumerationTest):
  58. NoMethodError: You have a nil object when you didn't expect it!
  59. The error occurred while evaluating nil.name
  60. /test/unit/enumeration_test.rb:51:in `test_create'
  61.  
  62. 9) Failure:
  63. test_default(EnumerationTest) [/test/unit/enumeration_test.rb:44]:
  64. <"Default Enumeration"> expected but was
  65. <"Very urgent">.
  66.  
  67. 10) Error:
  68. test_destroy_with_reassign(EnumerationTest):
  69. ActiveRecord::RecordNotFound: Couldn't find Enumeration with ID=4
  70. /test/unit/enumeration_test.rb:80:in `test_destroy_with_reassign'
  71.  
  72. 11) Error:
  73. test_in_use(EnumerationTest):
  74. ActiveRecord::RecordNotFound: Couldn't find Enumeration with ID=4
  75. /test/unit/enumeration_test.rb:35:in `test_in_use'
  76.  
  77. 12) Error:
  78. test_is_override(EnumerationTest):
  79. ActiveRecord::RecordNotFound: Couldn't find Enumeration with ID=4
  80. /test/unit/enumeration_test.rb:104:in `test_is_override'
  81.  
  82. 13) Error:
  83. test_objects_count(EnumerationTest):
  84. ActiveRecord::RecordNotFound: Couldn't find Enumeration with ID=4
  85. /test/unit/enumeration_test.rb:28:in `test_objects_count'
  86.  
  87. 14) Error:
  88. test_should_act_as_tree(EnumerationTest):
  89. ActiveRecord::RecordNotFound: Couldn't find Enumeration with ID=4
  90. /test/unit/enumeration_test.rb:96:in `test_should_act_as_tree'
  91.  
  92. 15) Error:
  93. test_roles_given_to_existing_user(GroupTest):
  94. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  95. /test/unit/group_test.rb:44:in `test_roles_given_to_existing_user'
  96.  
  97. 16) Error:
  98. test_roles_given_to_new_user(GroupTest):
  99. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  100. /test/unit/group_test.rb:33:in `test_roles_given_to_new_user'
  101.  
  102. 17) Failure:
  103. test_roles_removed_when_removing_group_membership(GroupTest) [/test/unit/group_test.rb:67]:
  104. <false> is not true.
  105.  
  106. 18) Failure:
  107. test_roles_removed_when_removing_user_from_group(GroupTest) [/test/unit/group_test.rb:73]:
  108. <false> is not true.
  109.  
  110. 19) Error:
  111. test_roles_updated(GroupTest):
  112. ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry '11-9' for key 'groups_users_ids': INSERT INTO `groups_users` (`group_id`, `user_id`) VALUES (11, 9)
  113. /test/unit/group_test.rb:52:in `test_roles_updated'
  114.  
  115. 20) Error:
  116. test_destroy_with_reassign(IssueCategoryTest):
  117. ActiveRecord::RecordNotFound: Couldn't find IssueCategory with ID=1
  118. /test/unit/issue_category_test.rb:24:in `setup'
  119.  
  120. 21) Error:
  121. test_objects_count(IssuePriorityTest):
  122. ActiveRecord::RecordNotFound: Couldn't find IssuePriority with ID=4
  123. /test/unit/issue_priority_test.rb:29:in `test_objects_count'
  124.  
  125. 22) Error:
  126. test_change_default(IssueStatusTest):
  127. ActiveRecord::RecordNotFound: Couldn't find IssueStatus with ID=2
  128. /test/unit/issue_status_test.rb:53:in `test_change_default'
  129.  
  130. 23) Failure:
  131. test_create(IssueStatusTest) [/test/unit/issue_status_test.rb:25]:
  132. <false> is not true.
  133.  
  134. 24) Failure:
  135. test_default(IssueStatusTest) [/test/unit/issue_status_test.rb:49]:
  136. <nil>
  137. expected to be kind_of?
  138. <IssueStatus(id: integer, name: string, is_closed: boolean, is_default: boolean, position: integer)> but was
  139. <NilClass>.
  140.  
  141. 25) Error:
  142. test_destroy(IssueStatusTest):
  143. ActiveRecord::RecordNotFound: Couldn't find IssueStatus with ID=3
  144. /test/unit/issue_status_test.rb:36:in `test_destroy'
  145.  
  146. 26) Failure:
  147. test_destroy_status_in_use(IssueStatusTest) [/test/unit/issue_status_test.rb:44]:
  148. Can't delete status.
  149. <RuntimeError> exception expected but was
  150. Class: <NoMethodError>
  151. Message: <"You have a nil object when you didn't expect it!\nYou might have expected an instance of ActiveRecord::Base.\nThe error occurred while evaluating nil.destroy">
  152. ---Backtrace---
  153. /test/unit/issue_status_test.rb:44:in `test_destroy_status_in_use'
  154. /test/unit/issue_status_test.rb:44:in `test_destroy_status_in_use'
  155. ---------------
  156.  
  157. 27) Error:
  158. test_reorder_should_not_clear_default_status(IssueStatusTest):
  159. NoMethodError: You have a nil object when you didn't expect it!
  160. The error occurred while evaluating nil.move_to_bottom
  161. /test/unit/issue_status_test.rb:65:in `test_reorder_should_not_clear_default_status'
  162.  
  163. 28) Failure:
  164. test_assignable_users(IssueTest) [/test/unit/issue_test.rb:272]:
  165. <nil>
  166. expected to be kind_of?
  167. <User(id: integer, login: string, hashed_password: string, firstname: string, lastname: string, mail: string, mail_notification: boolean, admin: boolean, status: integer, last_login_on: datetime, language: string, auth_source_id: integer, created_on: datetime, updated_on: datetime, type: string, identity_url: string)> but was
  168. <NilClass>.
  169.  
  170. 29) Error:
  171. test_blocked(IssueTest):
  172. NoMethodError: You have a nil object when you didn't expect it!
  173. The error occurred while evaluating nil.is_closed?
  174. app/models/issue.rb:193:in `closed?'
  175. app/models/issue.rb:208:in `blocked?'
  176. app/models/issue.rb:208:in `blocked?'
  177. /test/unit/issue_test.rb:241:in `test_blocked'
  178.  
  179. 30) Error:
  180. test_blocked_issues_dont_allow_closed_statuses(IssueTest):
  181. NoMethodError: You have a nil object when you didn't expect it!
  182. The error occurred while evaluating nil.find_new_statuses_allowed_to
  183. app/models/issue.rb:213:in `new_statuses_allowed_to'
  184. /test/unit/issue_test.rb:248:in `test_blocked_issues_dont_allow_closed_statuses'
  185.  
  186. 31) Error:
  187. test_category_based_assignment(IssueTest):
  188. ActiveRecord::RecordNotFound: Couldn't find IssueCategory with ID=1
  189. /test/unit/issue_test.rb:127:in `test_category_based_assignment'
  190.  
  191. 32) Error:
  192. test_copy(IssueTest):
  193. NoMethodError: You have a nil object when you didn't expect it!
  194. The error occurred while evaluating nil.regexp
  195. app/models/custom_value.rb:50:in `validate'
  196. /test/unit/issue_test.rb:132:in `test_copy'
  197.  
  198. 33) Error:
  199. test_copy_to_another_project_and_tracker(IssueTest):
  200. ActiveRecord::RecordNotFound: Couldn't find Tracker with ID=2
  201. /test/unit/issue_test.rb:222:in `test_copy_to_another_project_and_tracker'
  202. /test/unit/issue_test.rb:221:in `test_copy_to_another_project_and_tracker'
  203.  
  204. 34) Error:
  205. test_copy_to_the_same_project(IssueTest):
  206. ActiveRecord::StatementInvalid: Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1
  207. app/models/issue.rb:91:in `move_to'
  208. /test/unit/issue_test.rb:211:in `test_copy_to_the_same_project'
  209. /test/unit/issue_test.rb:210:in `test_copy_to_the_same_project'
  210.  
  211. 35) Failure:
  212. test_create(IssueTest) [/test/unit/issue_test.rb:31]:
  213. <false> is not true.
  214.  
  215. 36) Failure:
  216. test_create_minimal(IssueTest) [/test/unit/issue_test.rb:38]:
  217. <false> is not true.
  218.  
  219. 37) Failure:
  220. test_create_should_send_email_notification(IssueTest) [/test/unit/issue_test.rb:279]:
  221. <false> is not true.
  222.  
  223. 38) Error:
  224. test_create_with_required_custom_field(IssueTest):
  225. NoMethodError: You have a nil object when you didn't expect it!
  226. You might have expected an instance of ActiveRecord::Base.
  227. The error occurred while evaluating nil.update_attribute
  228. /test/unit/issue_test.rb:44:in `test_create_with_required_custom_field'
  229.  
  230. 39) Failure:
  231. test_errors_full_messages_should_include_custom_fields_errors(IssueTest) [/test/unit/issue_test.rb:70]:
  232. <false> is not true.
  233.  
  234. 40) Error:
  235. test_move_to_another_project_with_same_category(IssueTest):
  236. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  237. /test/unit/issue_test.rb:188:in `test_move_to_another_project_with_same_category'
  238.  
  239. 41) Error:
  240. test_move_to_another_project_without_same_category(IssueTest):
  241. ActiveRecord::StatementInvalid: Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1
  242. app/models/issue.rb:91:in `move_to'
  243. /test/unit/issue_test.rb:200:in `test_move_to_another_project_without_same_category'
  244.  
  245. 42) Error:
  246. test_overdue(IssueTest):
  247. NoMethodError: You have a nil object when you didn't expect it!
  248. The error occurred while evaluating nil.is_closed?
  249. app/models/issue.rb:198:in `overdue?'
  250. /test/unit/issue_test.rb:264:in `test_overdue'
  251.  
  252. 43) Failure:
  253. test_should_close_duplicates(IssueTest) [/test/unit/issue_test.rb:143]:
  254. <false> is not true.
  255.  
  256. 44) Failure:
  257. test_should_not_close_duplicated_issue(IssueTest) [/test/unit/issue_test.rb:170]:
  258. <false> is not true.
  259.  
  260. 45) Error:
  261. test_should_not_recreate_custom_values_objects_on_update(IssueTest):
  262. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  263. /test/unit/issue_test.rb:114:in `test_should_not_recreate_custom_values_objects_on_update'
  264.  
  265. 46) Error:
  266. test_should_not_update_attributes_if_custom_fields_validation_fails(IssueTest):
  267. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  268. /test/unit/issue_test.rb:99:in `test_should_not_update_attributes_if_custom_fields_validation_fails'
  269.  
  270. 47) Error:
  271. test_stale_issue_should_not_send_email_notification(IssueTest):
  272. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  273. /test/unit/issue_test.rb:285:in `test_stale_issue_should_not_send_email_notification'
  274.  
  275. 48) Error:
  276. test_unblocked_issues_allow_closed_statuses(IssueTest):
  277. NoMethodError: You have a nil object when you didn't expect it!
  278. The error occurred while evaluating nil.find_new_statuses_allowed_to
  279. app/models/issue.rb:213:in `new_statuses_allowed_to'
  280. /test/unit/issue_test.rb:257:in `test_unblocked_issues_allow_closed_statuses'
  281.  
  282. 49) Error:
  283. test_update_issue_with_required_custom_field(IssueTest):
  284. NoMethodError: You have a nil object when you didn't expect it!
  285. You might have expected an instance of ActiveRecord::Base.
  286. The error occurred while evaluating nil.update_attribute
  287. /test/unit/issue_test.rb:81:in `test_update_issue_with_required_custom_field'
  288.  
  289. 50) Error:
  290. test_create_should_send_email_notification(JournalTest):
  291. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=1
  292. /test/unit/journal_test.rb:24:in `setup'
  293.  
  294. 51) Error:
  295. test_journalized_is_an_issue(JournalTest):
  296. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=1
  297. /test/unit/journal_test.rb:24:in `setup'
  298.  
  299. 52) Error:
  300. test_new_status(JournalTest):
  301. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=1
  302. /test/unit/journal_test.rb:24:in `setup'
  303.  
  304. 53) Failure:
  305. test_add_issue(MailHandlerTest) [/test/unit/mail_handler_test.rb:47]:
  306. <false> is not true.
  307.  
  308. 54) Failure:
  309. test_add_issue_by_anonymous_user(MailHandlerTest)
  310. [/test/unit/mail_handler_test.rb:158:in `test_add_issue_by_anonymous_user'
  311. /test/unit/mail_handler_test.rb:156:in `test_add_issue_by_anonymous_user']:
  312. <false> is not true.
  313.  
  314. 55) Failure:
  315. test_add_issue_by_created_user(MailHandlerTest)
  316. [/test/unit/mail_handler_test.rb:167:in `test_add_issue_by_created_user'
  317. /test/unit/mail_handler_test.rb:165:in `test_add_issue_by_created_user']:
  318. <false> is not true.
  319.  
  320. 56) Failure:
  321. test_add_issue_note(MailHandlerTest) [/test/unit/mail_handler_test.rb:198]:
  322. <false> is not true.
  323.  
  324. 57) Failure:
  325. test_add_issue_note_should_send_email_notification(MailHandlerTest) [/test/unit/mail_handler_test.rb:218]:
  326. <false> is not true.
  327.  
  328. 58) Failure:
  329. test_add_issue_note_with_status_change(MailHandlerTest) [/test/unit/mail_handler_test.rb:207]:
  330. <false> is not true.
  331.  
  332. 59) Failure:
  333. test_add_issue_should_send_email_notification(MailHandlerTest) [/test/unit/mail_handler_test.rb:192]:
  334. <false> is not true.
  335.  
  336. 60) Failure:
  337. test_add_issue_with_attachment_to_specific_project(MailHandlerTest) [/test/unit/mail_handler_test.rb:115]:
  338. <false> is not true.
  339.  
  340. 61) Failure:
  341. test_add_issue_with_attributes_override(MailHandlerTest) [/test/unit/mail_handler_test.rb:72]:
  342. <false> is not true.
  343.  
  344. 62) Failure:
  345. test_add_issue_with_cc(MailHandlerTest) [/test/unit/mail_handler_test.rb:141]:
  346. <false> is not true.
  347.  
  348. 63) Failure:
  349. test_add_issue_with_custom_fields(MailHandlerTest) [/test/unit/mail_handler_test.rb:131]:
  350. <false> is not true.
  351.  
  352. 64) Failure:
  353. test_add_issue_with_partial_attributes_override(MailHandlerTest) [/test/unit/mail_handler_test.rb:86]:
  354. <false> is not true.
  355.  
  356. 65) Failure:
  357. test_add_issue_with_spaces_between_attribute_and_separator(MailHandlerTest) [/test/unit/mail_handler_test.rb:100]:
  358. <false> is not true.
  359.  
  360. 66) Failure:
  361. test_add_issue_with_status(MailHandlerTest) [/test/unit/mail_handler_test.rb:63]:
  362. <false> is not true.
  363.  
  364. 67) Failure:
  365. test_reply_to_a_message(MailHandlerTest) [/test/unit/mail_handler_test.rb:224]:
  366. <false> is not true.
  367.  
  368. 68) Failure:
  369. test_reply_to_a_message_by_subject(MailHandlerTest) [/test/unit/mail_handler_test.rb:234]:
  370. <false> is not true.
  371.  
  372. 69) Failure:
  373. test_should_strip_tags_of_html_only_emails(MailHandlerTest) [/test/unit/mail_handler_test.rb:243]:
  374. <false> is not true.
  375.  
  376. 70) Error:
  377. test_document_added(MailerTest):
  378. ActionView::TemplateError: You have a nil object when you didn't expect it!
  379. The error occurred while evaluating nil.name
  380. On line #1 of app/views/mailer/document_added.text.plain.rhtml
  381.  
  382. 1: <%= @document.title %> (<%= @document.category.name %>)
  383. 2: <%= @document_url %>
  384. 3:
  385. 4: <%= @document.description %>
  386.  
  387. app/views/mailer/document_added.text.plain.rhtml:1:in `_run_rhtml_app47views47mailer47document_added46text46plain46rhtml'
  388. app/models/mailer.rb:360:in `render_multipart'
  389. app/models/mailer.rb:101:in `document_added'
  390. /test/unit/mailer_test.rb:181:in `test_document_added'
  391. /test/unit/mailer_test.rb:179:in `each'
  392. /test/unit/mailer_test.rb:179:in `test_document_added'
  393. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
  394. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
  395. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
  396. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
  397. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
  398. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
  399. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
  400. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
  401. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
  402. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
  403. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
  404. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
  405. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit.rb:278
  406. rake (0.8.7) lib/rake/rake_test_loader.rb:5
  407.  
  408. 71) Error:
  409. test_email_headers(MailerTest):
  410. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  411. /test/unit/mailer_test.rb:93:in `test_email_headers'
  412.  
  413. 72) Error:
  414. test_generated_links_in_emails(MailerTest):
  415. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=2
  416. /test/unit/mailer_test.rb:29:in `test_generated_links_in_emails'
  417.  
  418. 73) Error:
  419. test_generated_links_with_prefix(MailerTest):
  420. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=2
  421. /test/unit/mailer_test.rb:50:in `test_generated_links_with_prefix'
  422.  
  423. 74) Error:
  424. test_generated_links_with_prefix_and_no_relative_url_root(MailerTest):
  425. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=2
  426. /test/unit/mailer_test.rb:74:in `test_generated_links_with_prefix_and_no_relative_url_root'
  427.  
  428. 75) Error:
  429. test_html_mail(MailerTest):
  430. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=2
  431. /test/unit/mailer_test.rb:113:in `test_html_mail'
  432.  
  433. 76) Error:
  434. test_issue_add(MailerTest):
  435. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  436. /test/unit/mailer_test.rb:162:in `test_issue_add'
  437.  
  438. 77) Error:
  439. test_issue_add_message_id(MailerTest):
  440. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  441. /test/unit/mailer_test.rb:122:in `test_issue_add_message_id'
  442.  
  443. 78) Error:
  444. test_issue_edit(MailerTest):
  445. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=1
  446. /test/unit/mailer_test.rb:170:in `test_issue_edit'
  447.  
  448. 79) Error:
  449. test_issue_edit_message_id(MailerTest):
  450. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=1
  451. /test/unit/mailer_test.rb:132:in `test_issue_edit_message_id'
  452.  
  453. 80) Error:
  454. test_message_posted(MailerTest):
  455. NoMethodError: You have a nil object when you didn't expect it!
  456. The error occurred while evaluating nil.root
  457. /test/unit/mailer_test.rb:203:in `test_message_posted'
  458.  
  459. 81) Error:
  460. test_message_posted_message_id(MailerTest):
  461. ActiveRecord::RecordNotFound: Couldn't find Message with ID=1
  462. /test/unit/mailer_test.rb:142:in `test_message_posted_message_id'
  463.  
  464. 82) Error:
  465. test_plain_text_mail(MailerTest):
  466. ActiveRecord::RecordNotFound: Couldn't find Journal with ID=2
  467. /test/unit/mailer_test.rb:103:in `test_plain_text_mail'
  468.  
  469. 83) Failure:
  470. test_reminders(MailerTest) [/test/unit/mailer_test.rb:247]:
  471. <1> expected but was
  472. <0>.
  473.  
  474. 84) Error:
  475. test_reply_posted_message_id(MailerTest):
  476. ActiveRecord::RecordNotFound: Couldn't find Message with ID=3
  477. /test/unit/mailer_test.rb:152:in `test_reply_posted_message_id'
  478.  
  479. 85) Failure:
  480. test_create(MemberTest) [/test/unit/member_test.rb:29]:
  481. <false> is not true.
  482.  
  483. 86) Error:
  484. test_update(MemberTest):
  485. ActiveRecord::RecordNotFound: Couldn't find Member with ID=1
  486. /test/unit/member_test.rb:24:in `setup'
  487.  
  488. 87) Error:
  489. test_update_roles(MemberTest):
  490. ActiveRecord::RecordNotFound: Couldn't find Member with ID=1
  491. /test/unit/member_test.rb:24:in `setup'
  492.  
  493. 88) Error:
  494. test_validate(MemberTest):
  495. ActiveRecord::RecordNotFound: Couldn't find Member with ID=1
  496. /test/unit/member_test.rb:24:in `setup'
  497.  
  498. 89) Error:
  499. test_create(MessageTest):
  500. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  501. /test/unit/message_test.rb:24:in `setup'
  502.  
  503. 90) Error:
  504. test_destroy_reply(MessageTest):
  505. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  506. /test/unit/message_test.rb:24:in `setup'
  507.  
  508. 91) Error:
  509. test_destroy_topic(MessageTest):
  510. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  511. /test/unit/message_test.rb:24:in `setup'
  512.  
  513. 92) Error:
  514. test_destroyable_by(MessageTest):
  515. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  516. /test/unit/message_test.rb:24:in `setup'
  517.  
  518. 93) Error:
  519. test_editable_by(MessageTest):
  520. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  521. /test/unit/message_test.rb:24:in `setup'
  522.  
  523. 94) Error:
  524. test_moving_message_should_update_counters(MessageTest):
  525. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  526. /test/unit/message_test.rb:24:in `setup'
  527.  
  528. 95) Error:
  529. test_reply(MessageTest):
  530. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  531. /test/unit/message_test.rb:24:in `setup'
  532.  
  533. 96) Error:
  534. test_set_sticky(MessageTest):
  535. ActiveRecord::RecordNotFound: Couldn't find Board with ID=1
  536. /test/unit/message_test.rb:24:in `setup'
  537.  
  538. 97) Failure:
  539. test_should_include_news_for_projects_with_news_enabled(NewsTest) [/test/unit/news_test.rb:42]:
  540. <false> is not true.
  541.  
  542. 98) Failure:
  543. test_should_limit_the_amount_of_returned_news(NewsTest) [/test/unit/news_test.rb:68]:
  544. <2> expected but was
  545. <0>.
  546.  
  547. 99) Failure:
  548. test_should_return_5_news_stories_by_default(NewsTest) [/test/unit/news_test.rb:75]:
  549. <5> expected but was
  550. <0>.
  551.  
  552. 100) Failure:
  553. test: Project#copy should change the new issues to use the copied issue categories. (ProjectTest)
  554. [/test/unit/project_test.rb:504:in `__bind_1257360974_904032'
  555. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  556. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should change the new issues to use the copied issue categories. ']:
  557. <false> is not true.
  558.  
  559. 101) Error:
  560. test: Project#copy should change the new issues to use the copied version. (ProjectTest):
  561. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  562. /test/unit/project_test.rb:405:in `__bind_1257360975_142848'
  563. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  564. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should change the new issues to use the copied version. '
  565.  
  566. 102) Failure:
  567. test: Project#copy should copy boards. (ProjectTest)
  568. [/test/unit/project_test.rb:492:in `__bind_1257360975_188586'
  569. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  570. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy boards. ']:
  571. <false> is not true.
  572.  
  573. 103) Failure:
  574. test: Project#copy should copy issue categories. (ProjectTest)
  575. [/test/unit/project_test.rb:483:in `__bind_1257360975_418150'
  576. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  577. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy issue categories. ']:
  578. <false> is not true.
  579.  
  580. 104) Failure:
  581. test: Project#copy should copy issues. (ProjectTest)
  582. [/test/unit/project_test.rb:391:in `__bind_1257360975_643822'
  583. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  584. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy issues. ']:
  585. <false> is not true.
  586.  
  587. 105) Failure:
  588. test: Project#copy should copy members. (ProjectTest)
  589. [/test/unit/project_test.rb:423:in `__bind_1257360975_871704'
  590. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  591. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy members. ']:
  592. <false> is not true.
  593.  
  594. 106) Failure:
  595. test: Project#copy should copy project specific queries. (ProjectTest)
  596. [/test/unit/project_test.rb:435:in `__bind_1257360976_486990'
  597. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  598. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy project specific queries. ']:
  599. <false> is not true.
  600.  
  601. 107) Failure:
  602. test: Project#copy should copy versions. (ProjectTest)
  603. [/test/unit/project_test.rb:449:in `__bind_1257360976_588298'
  604. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  605. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy versions. ']:
  606. <false> is not true.
  607.  
  608. 108) Failure:
  609. test: Project#copy should copy wiki pages and content. (ProjectTest)
  610. [/test/unit/project_test.rb:469:in `__bind_1257360976_921210'
  611. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  612. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy wiki pages and content. ']:
  613. <false> is not true.
  614.  
  615. 109) Failure:
  616. test: Project#copy should copy wiki. (ProjectTest)
  617. [/test/unit/project_test.rb:460:in `__bind_1257360977_16013'
  618. /test/unit/project_test.rb:459:in `__bind_1257360977_16013'
  619. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  620. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should copy wiki. ']:
  621. <false> is not true.
  622.  
  623. 110) Failure:
  624. test: Project#copy should limit copy with :only option. (ProjectTest)
  625. [/test/unit/project_test.rb:518:in `__bind_1257360977_210469'
  626. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `call'
  627. /Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: Project#copy should limit copy with :only option. ']:
  628. <false> is not true.
  629.  
  630. 111) Error:
  631. test_activities_should_include_inactive_activities_if_specified(ProjectTest):
  632. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  633. /test/unit/project_test.rb:373:in `test_activities_should_include_inactive_activities_if_specified'
  634.  
  635. 112) Error:
  636. test_activities_should_not_include_the_inactive_project_specific_activities(ProjectTest):
  637. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  638. /test/unit/project_test.rb:333:in `test_activities_should_not_include_the_inactive_project_specific_activities'
  639.  
  640. 113) Error:
  641. test_activities_should_override_system_activities_with_project_activities(ProjectTest):
  642. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  643. /test/unit/project_test.rb:364:in `test_activities_should_override_system_activities_with_project_activities'
  644.  
  645. 114) Error:
  646. test_activities_should_use_the_project_specific_activities(ProjectTest):
  647. ActiveRecord::RecordInvalid: translation missing: zh, activerecord, errors, messages, record_invalid
  648. /test/unit/project_test.rb:325:in `test_activities_should_use_the_project_specific_activities'
  649.  
  650. 115) Failure:
  651. test_activities_should_use_the_system_activities(ProjectTest) [/test/unit/project_test.rb:318]:
  652. <[#<TimeEntryActivity id: 333, opt: "", name: "Project", position: 1, is_default: false, type: "TimeEntryActivity", active: true, project_id: 1, parent_id: nil>]> expected but was
  653. <[#<TimeEntryActivity id: 333, opt: "", name: "Project", position: 1, is_default: false, type: "TimeEntryActivity", active: true, project_id: 1, parent_id: nil>,
  654. #<TimeEntryActivity id: 334, opt: "", name: "Project", position: 2, is_default: false, type: "TimeEntryActivity", active: true, project_id: 2, parent_id: nil>]>.
  655.  
  656. 116) Failure:
  657. test_destroy(ProjectTest) [/test/unit/project_test.rb:131]:
  658. <2> expected but was
  659. <1>.
  660.  
  661. 117) Failure:
  662. test_enabled_module_names_should_not_recreate_enabled_modules(ProjectTest) [/test/unit/project_test.rb:288]:
  663. <false> is not true.
  664.  
  665. 118) Error:
  666. test_move_an_orphan_project_to_a_root_project(ProjectTest):
  667. RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
  668. /test/unit/project_test.rb:148:in `test_move_an_orphan_project_to_a_root_project'
  669.  
  670. 119) Failure:
  671. test_move_an_orphan_project_to_a_subproject(ProjectTest) [/test/unit/project_test.rb:155]:
  672. <false> is not true.
  673.  
  674. 120) Failure:
  675. test_next_identifier(ProjectTest) [/test/unit/project_test.rb:275]:
  676. <"p2008041"> expected but was
  677. <"copy-tesu">.
  678.  
  679. 121) Error:
  680. test_parent(ProjectTest):
  681. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  682. app/models/project.rb:226:in `find'
  683. /test/unit/project_test.rb:27:in `setup'
  684.  
  685. 122) Error:
  686. test_rebuild_should_sort_children_alphabetically(ProjectTest):
  687. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  688. app/models/project.rb:226:in `find'
  689. /test/unit/project_test.rb:27:in `setup'
  690.  
  691. 123) Error:
  692. test_rolled_up_trackers(ProjectTest):
  693. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  694. app/models/project.rb:226:in `find'
  695. /test/unit/project_test.rb:27:in `setup'
  696.  
  697. 124) Error:
  698. test_rolled_up_trackers_should_ignore_archived_subprojects(ProjectTest):
  699. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  700. app/models/project.rb:226:in `find'
  701. /test/unit/project_test.rb:27:in `setup'
  702.  
  703. 125) Error:
  704. test_root(ProjectTest):
  705. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  706. app/models/project.rb:226:in `find'
  707. /test/unit/project_test.rb:27:in `setup'
  708.  
  709. 126) Error:
  710. test_set_parent_should_add_children_in_alphabetical_order(ProjectTest):
  711. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  712. app/models/project.rb:226:in `find'
  713. /test/unit/project_test.rb:27:in `setup'
  714.  
  715. 127) Error:
  716. test_set_parent_should_add_roots_in_alphabetical_order(ProjectTest):
  717. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  718. app/models/project.rb:226:in `find'
  719. /test/unit/project_test.rb:27:in `setup'
  720.  
  721. 128) Error:
  722. test_should_not_move_a_project_to_its_children(ProjectTest):
  723. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  724. app/models/project.rb:226:in `find'
  725. /test/unit/project_test.rb:27:in `setup'
  726.  
  727. 129) Error:
  728. test_truth(ProjectTest):
  729. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  730. app/models/project.rb:226:in `find'
  731. /test/unit/project_test.rb:27:in `setup'
  732.  
  733. 130) Error:
  734. test_unarchive(ProjectTest):
  735. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  736. app/models/project.rb:226:in `find'
  737. /test/unit/project_test.rb:27:in `setup'
  738.  
  739. 131) Error:
  740. test_update(ProjectTest):
  741. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  742. app/models/project.rb:226:in `find'
  743. /test/unit/project_test.rb:27:in `setup'
  744.  
  745. 132) Error:
  746. test_users_by_role(ProjectTest):
  747. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  748. app/models/project.rb:226:in `find'
  749. /test/unit/project_test.rb:27:in `setup'
  750.  
  751. 133) Error:
  752. test_users_should_be_active_users(ProjectTest):
  753. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  754. app/models/project.rb:226:in `find'
  755. /test/unit/project_test.rb:27:in `setup'
  756.  
  757. 134) Error:
  758. test_validate_identifier(ProjectTest):
  759. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  760. app/models/project.rb:226:in `find'
  761. /test/unit/project_test.rb:27:in `setup'
  762.  
  763. 135) Failure:
  764. test_custom_fields_for_all_projects_should_be_available_in_global_queries(QueryTest) [/test/unit/query_test.rb:25]:
  765. <false> is not true.
  766.  
  767. 136) Failure:
  768. test_editable_by(QueryTest) [/test/unit/query_test.rb:280]:
  769. <false> is not true.
  770.  
  771. 137) Failure:
  772. test_filter_unwatched_issues(QueryTest) [/test/unit/query_test.rb:182]:
  773. <false> is not true.
  774.  
  775. 138) Failure:
  776. test_filter_watched_issues(QueryTest) [/test/unit/query_test.rb:172]:
  777. <false> is not true.
  778.  
  779. 139) Error:
  780. test_operator_ago(QueryTest):
  781. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  782. app/models/project.rb:226:in `find'
  783. /test/unit/query_test.rb:124:in `test_operator_ago'
  784.  
  785. 140) Error:
  786. test_operator_all(QueryTest):
  787. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  788. app/models/project.rb:226:in `find'
  789. /test/unit/query_test.rb:62:in `test_operator_all'
  790.  
  791. 141) Error:
  792. test_operator_contains(QueryTest):
  793. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  794. app/models/project.rb:226:in `find'
  795. /test/unit/query_test.rb:152:in `test_operator_contains'
  796.  
  797. 142) Error:
  798. test_operator_does_not_contains(QueryTest):
  799. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  800. app/models/project.rb:226:in `find'
  801. /test/unit/query_test.rb:161:in `test_operator_does_not_contains'
  802.  
  803. 143) Error:
  804. test_operator_greater_than(QueryTest):
  805. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  806. app/models/project.rb:226:in `find'
  807. /test/unit/query_test.rb:71:in `test_operator_greater_than'
  808.  
  809. 144) Error:
  810. test_operator_in(QueryTest):
  811. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  812. app/models/project.rb:226:in `find'
  813. /test/unit/query_test.rb:115:in `test_operator_in'
  814.  
  815. 145) Error:
  816. test_operator_in_less_than(QueryTest):
  817. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  818. app/models/project.rb:226:in `find'
  819. /test/unit/query_test.rb:87:in `test_operator_in_less_than'
  820.  
  821. 146) Error:
  822. test_operator_in_more_than(QueryTest):
  823. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  824. app/models/project.rb:226:in `find'
  825. /test/unit/query_test.rb:79:in `test_operator_in_more_than'
  826.  
  827. 147) Error:
  828. test_operator_less_than_ago(QueryTest):
  829. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  830. app/models/project.rb:226:in `find'
  831. /test/unit/query_test.rb:96:in `test_operator_less_than_ago'
  832.  
  833. 148) Error:
  834. test_operator_more_than_ago(QueryTest):
  835. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  836. app/models/project.rb:226:in `find'
  837. /test/unit/query_test.rb:105:in `test_operator_more_than_ago'
  838.  
  839. 149) Error:
  840. test_operator_none(QueryTest):
  841. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  842. app/models/project.rb:226:in `find'
  843. /test/unit/query_test.rb:45:in `test_operator_none'
  844.  
  845. 150) Error:
  846. test_operator_none_for_integer(QueryTest):
  847. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  848. app/models/project.rb:226:in `find'
  849. /test/unit/query_test.rb:54:in `test_operator_none_for_integer'
  850.  
  851. 151) Error:
  852. test_operator_this_week_on_date(QueryTest):
  853. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  854. app/models/project.rb:226:in `find'
  855. /test/unit/query_test.rb:140:in `test_operator_this_week_on_date'
  856.  
  857. 152) Error:
  858. test_operator_this_week_on_datetime(QueryTest):
  859. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  860. app/models/project.rb:226:in `find'
  861. /test/unit/query_test.rb:146:in `test_operator_this_week_on_datetime'
  862.  
  863. 153) Error:
  864. test_operator_today(QueryTest):
  865. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  866. app/models/project.rb:226:in `find'
  867. /test/unit/query_test.rb:132:in `test_operator_today'
  868.  
  869. 154) Failure:
  870. test_query_with_multiple_custom_fields(QueryTest) [/test/unit/query_test.rb:40]:
  871. <1> expected but was
  872. <0>.
  873.  
  874. 155) Failure:
  875. test_sort_by_float_custom_field_asc(QueryTest) [/test/unit/query_test.rb:256]:
  876. <nil> is not true.
  877.  
  878. 156) Failure:
  879. test_sort_by_string_custom_field_asc(QueryTest) [/test/unit/query_test.rb:228]:
  880. <nil> is not true.
  881.  
  882. 157) Failure:
  883. test_sort_by_string_custom_field_desc(QueryTest) [/test/unit/query_test.rb:242]:
  884. <nil> is not true.
  885.  
  886. 158) Error:
  887. test_call_hook_should_not_change_the_default_url_for_email_notifications(Redmine::Hook::ManagerTest):
  888. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  889. /test/unit/lib/redmine/hook_test.rb:150:in `test_call_hook_should_not_change_the_default_url_for_email_notifications'
  890.  
  891. 159) Error:
  892. test_macro_child_pages(Redmine::WikiFormatting::MacrosTest):
  893. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  894. app/models/project.rb:226:in `find'
  895. /test/unit/lib/redmine/wiki_formatting/macros_test.rb:71:in `test_macro_child_pages'
  896.  
  897. 160) Error:
  898. test_macro_child_pages_with_option(Redmine::WikiFormatting::MacrosTest):
  899. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  900. app/models/project.rb:226:in `find'
  901. /test/unit/lib/redmine/wiki_formatting/macros_test.rb:89:in `test_macro_child_pages_with_option'
  902.  
  903. 161) Error:
  904. test_macro_include(Redmine::WikiFormatting::MacrosTest):
  905. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  906. app/models/project.rb:226:in `find'
  907. /test/unit/lib/redmine/wiki_formatting/macros_test.rb:48:in `test_macro_include'
  908.  
  909. 162) Error:
  910. test_fake(RepositoryBazaarTest):
  911. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  912. app/models/project.rb:226:in `find'
  913. /test/unit/repository_bazaar_test.rb:28:in `setup'
  914.  
  915. 163) Error:
  916. test_fake(RepositoryCvsTest):
  917. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  918. app/models/project.rb:226:in `find'
  919. /test/unit/repository_cvs_test.rb:30:in `setup'
  920.  
  921. 164) Error:
  922. test_fake(RepositoryDarcsTest):
  923. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  924. app/models/project.rb:226:in `find'
  925. /test/unit/repository_darcs_test.rb:27:in `setup'
  926.  
  927. 165) Error:
  928. test_fake(RepositoryFilesystemTest):
  929. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  930. app/models/project.rb:226:in `find'
  931. /test/unit/repository_filesystem_test.rb:27:in `setup'
  932.  
  933. 166) Error:
  934. test_fake(RepositoryGitTest):
  935. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  936. app/models/project.rb:226:in `find'
  937. /test/unit/repository_git_test.rb:28:in `setup'
  938.  
  939. 167) Error:
  940. test_fake(RepositoryMercurialTest):
  941. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  942. app/models/project.rb:226:in `find'
  943. /test/unit/repository_mercurial_test.rb:27:in `setup'
  944.  
  945. 168) Error:
  946. test_fake(RepositorySubversionTest):
  947. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  948. app/models/project.rb:226:in `find'
  949. /test/unit/repository_subversion_test.rb:27:in `setup'
  950.  
  951. 169) Error:
  952. test_auto_user_mapping_by_email(RepositoryTest):
  953. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  954. app/models/project.rb:226:in `find'
  955. /test/unit/repository_test.rb:33:in `setup'
  956.  
  957. 170) Error:
  958. test_auto_user_mapping_by_username(RepositoryTest):
  959. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  960. app/models/project.rb:226:in `find'
  961. /test/unit/repository_test.rb:33:in `setup'
  962.  
  963. 171) Error:
  964. test_create(RepositoryTest):
  965. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  966. app/models/project.rb:226:in `find'
  967. /test/unit/repository_test.rb:33:in `setup'
  968.  
  969. 172) Error:
  970. test_destroy(RepositoryTest):
  971. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  972. app/models/project.rb:226:in `find'
  973. /test/unit/repository_test.rb:33:in `setup'
  974.  
  975. 173) Error:
  976. test_for_changeset_comments_strip(RepositoryTest):
  977. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  978. app/models/project.rb:226:in `find'
  979. /test/unit/repository_test.rb:33:in `setup'
  980.  
  981. 174) Error:
  982. test_for_urls_strip(RepositoryTest):
  983. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  984. app/models/project.rb:226:in `find'
  985. /test/unit/repository_test.rb:33:in `setup'
  986.  
  987. 175) Error:
  988. test_manual_user_mapping(RepositoryTest):
  989. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  990. app/models/project.rb:226:in `find'
  991. /test/unit/repository_test.rb:33:in `setup'
  992.  
  993. 176) Error:
  994. test_scan_changesets_for_issue_ids(RepositoryTest):
  995. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  996. app/models/project.rb:226:in `find'
  997. /test/unit/repository_test.rb:33:in `setup'
  998.  
  999. 177) Error:
  1000. test_should_not_create_with_disabled_scm(RepositoryTest):
  1001. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1002. app/models/project.rb:226:in `find'
  1003. /test/unit/repository_test.rb:33:in `setup'
  1004.  
  1005. 178) Error:
  1006. test_add_permission(RoleTest):
  1007. ActiveRecord::RecordNotFound: Couldn't find Role with ID=1
  1008. /test/unit/role_test.rb:35:in `test_add_permission'
  1009.  
  1010. 179) Error:
  1011. test_copy_workflows(RoleTest):
  1012. ActiveRecord::RecordNotFound: Couldn't find Role with ID=1
  1013. /test/unit/role_test.rb:24:in `test_copy_workflows'
  1014.  
  1015. 180) Error:
  1016. test_remove_permission(RoleTest):
  1017. ActiveRecord::RecordNotFound: Couldn't find Role with ID=1
  1018. /test/unit/role_test.rb:44:in `test_remove_permission'
  1019.  
  1020. 181) Error:
  1021. test_search_by_allowed_member(SearchTest):
  1022. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1023. app/models/project.rb:226:in `find'
  1024. /test/unit/search_test.rb:35:in `setup'
  1025.  
  1026. 182) Error:
  1027. test_search_by_anonymous(SearchTest):
  1028. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1029. app/models/project.rb:226:in `find'
  1030. /test/unit/search_test.rb:35:in `setup'
  1031.  
  1032. 183) Error:
  1033. test_search_by_unallowed_member(SearchTest):
  1034. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1035. app/models/project.rb:226:in `find'
  1036. /test/unit/search_test.rb:35:in `setup'
  1037.  
  1038. 184) Error:
  1039. test_search_by_user(SearchTest):
  1040. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1041. app/models/project.rb:226:in `find'
  1042. /test/unit/search_test.rb:35:in `setup'
  1043.  
  1044. 185) Error:
  1045. test_search_issue_with_multiple_hits_in_journals(SearchTest):
  1046. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1047. app/models/project.rb:226:in `find'
  1048. /test/unit/search_test.rb:35:in `setup'
  1049.  
  1050. 186) Error:
  1051. test_create_with_custom_field(TimeEntryActivityTest):
  1052. RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
  1053. /test/unit/time_entry_activity_test.rb:39:in `test_create_with_custom_field'
  1054.  
  1055. 187) Error:
  1056. test_create_with_required_custom_field_should_succeed(TimeEntryActivityTest):
  1057. NoMethodError: You have a nil object when you didn't expect it!
  1058. You might have expected an instance of ActiveRecord::Base.
  1059. The error occurred while evaluating nil.update_attribute
  1060. /test/unit/time_entry_activity_test.rb:57:in `test_create_with_required_custom_field_should_succeed'
  1061.  
  1062. 188) Error:
  1063. test_create_without_required_custom_field_should_fail(TimeEntryActivityTest):
  1064. NoMethodError: You have a nil object when you didn't expect it!
  1065. You might have expected an instance of ActiveRecord::Base.
  1066. The error occurred while evaluating nil.update_attribute
  1067. /test/unit/time_entry_activity_test.rb:48:in `test_create_without_required_custom_field_should_fail'
  1068.  
  1069. 189) Error:
  1070. test_objects_count(TimeEntryActivityTest):
  1071. NoMethodError: You have a nil object when you didn't expect it!
  1072. The error occurred while evaluating nil.objects_count
  1073. /test/unit/time_entry_activity_test.rb:28:in `test_objects_count'
  1074.  
  1075. 190) Error:
  1076. test_update_issue_with_required_custom_field_change(TimeEntryActivityTest):
  1077. NoMethodError: You have a nil object when you didn't expect it!
  1078. You might have expected an instance of ActiveRecord::Base.
  1079. The error occurred while evaluating nil.update_attribute
  1080. /test/unit/time_entry_activity_test.rb:66:in `test_update_issue_with_required_custom_field_change'
  1081.  
  1082. 191) Failure:
  1083. test_activities_collection_for_select_options_should_return_array_of_activity_names_and_ids(TimelogHelperTest) [/test/unit/helpers/timelog_helper_test.rb:39]:
  1084. <false> is not true.
  1085.  
  1086. 192) Error:
  1087. test_activities_collection_for_select_options_should_use_the_projects_override(TimelogHelperTest):
  1088. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1089. app/models/project.rb:226:in `find'
  1090. /test/unit/helpers/timelog_helper_test.rb:49:in `test_activities_collection_for_select_options_should_use_the_projects_override'
  1091.  
  1092. 193) Error:
  1093. test_copy_workflows(TrackerTest):
  1094. ActiveRecord::RecordNotFound: Couldn't find Tracker with ID=1
  1095. /test/unit/tracker_test.rb:24:in `test_copy_workflows'
  1096.  
  1097. 194) Failure:
  1098. test_create(UserTest) [/test/unit/user_test.rb:40]:
  1099. <1> expected but was
  1100. <2>.
  1101.  
  1102. 195) Error:
  1103. test_destroy(UserTest):
  1104. RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
  1105. app/models/member.rb:57:in `before_destroy'
  1106. app/models/member_role.rb:37:in `remove_member_if_empty'
  1107. /test/unit/user_test.rb:74:in `test_destroy'
  1108.  
  1109. 196) Error:
  1110. test_mail_notification_all(UserTest):
  1111. NoMethodError: You have a nil object when you didn't expect it!
  1112. The error occurred while evaluating nil.recipients
  1113. /test/unit/user_test.rb:148:in `test_mail_notification_all'
  1114.  
  1115. 197) Error:
  1116. test_mail_notification_none(UserTest):
  1117. NoMethodError: You have a nil object when you didn't expect it!
  1118. The error occurred while evaluating nil.recipients
  1119. /test/unit/user_test.rb:164:in `test_mail_notification_none'
  1120.  
  1121. 198) Error:
  1122. test_mail_notification_selected(UserTest):
  1123. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1124. app/models/project.rb:226:in `find'
  1125. /test/unit/user_test.rb:156:in `test_mail_notification_selected'
  1126.  
  1127. 199) Failure:
  1128. test_mail_uniqueness_should_not_be_case_sensitive(UserTest) [/test/unit/user_test.rb:56]:
  1129. <false> is not true.
  1130.  
  1131. 200) Error:
  1132. test_roles_for_project(UserTest):
  1133. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1134. app/models/project.rb:226:in `find'
  1135. /test/unit/user_test.rb:135:in `test_roles_for_project'
  1136.  
  1137. 201) Error:
  1138. test_create(VersionTest):
  1139. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1140. app/models/project.rb:226:in `find'
  1141. /test/unit/version_test.rb:27:in `test_create'
  1142.  
  1143. 202) Error:
  1144. test_invalid_effective_date_validation(VersionTest):
  1145. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1146. app/models/project.rb:226:in `find'
  1147. /test/unit/version_test.rb:32:in `test_invalid_effective_date_validation'
  1148.  
  1149. 203) Error:
  1150. test_progress_should_be_0_with_no_assigned_issues(VersionTest):
  1151. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1152. app/models/project.rb:226:in `find'
  1153. /test/unit/version_test.rb:38:in `test_progress_should_be_0_with_no_assigned_issues'
  1154.  
  1155. 204) Error:
  1156. test_progress_should_be_0_with_unbegun_assigned_issues(VersionTest):
  1157. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1158. app/models/project.rb:226:in `find'
  1159. /test/unit/version_test.rb:45:in `test_progress_should_be_0_with_unbegun_assigned_issues'
  1160.  
  1161. 205) Error:
  1162. test_progress_should_be_100_with_closed_assigned_issues(VersionTest):
  1163. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1164. app/models/project.rb:226:in `find'
  1165. /test/unit/version_test.rb:54:in `test_progress_should_be_100_with_closed_assigned_issues'
  1166.  
  1167. 206) Error:
  1168. test_progress_should_consider_average_estimated_hours_to_weigth_unestimated_issues(VersionTest):
  1169. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1170. app/models/project.rb:226:in `find'
  1171. /test/unit/version_test.rb:97:in `test_progress_should_consider_average_estimated_hours_to_weigth_unestimated_issues'
  1172.  
  1173. 207) Error:
  1174. test_progress_should_consider_closed_issues_as_completed(VersionTest):
  1175. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1176. app/models/project.rb:226:in `find'
  1177. /test/unit/version_test.rb:76:in `test_progress_should_consider_closed_issues_as_completed'
  1178.  
  1179. 208) Error:
  1180. test_progress_should_consider_done_ratio_of_open_assigned_issues(VersionTest):
  1181. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1182. app/models/project.rb:226:in `find'
  1183. /test/unit/version_test.rb:66:in `test_progress_should_consider_done_ratio_of_open_assigned_issues'
  1184.  
  1185. 209) Error:
  1186. test_progress_should_consider_estimated_hours_to_weigth_issues(VersionTest):
  1187. ActiveRecord::RecordNotFound: Couldn't find Project with ID=1
  1188. app/models/project.rb:226:in `find'
  1189. /test/unit/version_test.rb:86:in `test_progress_should_consider_estimated_hours_to_weigth_issues'
  1190.  
  1191. 210) Error:
  1192. test_cant_watch_twice(WatcherTest):
  1193. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  1194. /test/unit/watcher_test.rb:25:in `setup'
  1195.  
  1196. 211) Error:
  1197. test_recipients(WatcherTest):
  1198. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  1199. /test/unit/watcher_test.rb:25:in `setup'
  1200.  
  1201. 212) Error:
  1202. test_unwatch(WatcherTest):
  1203. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  1204. /test/unit/watcher_test.rb:25:in `setup'
  1205.  
  1206. 213) Error:
  1207. test_watch(WatcherTest):
  1208. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  1209. /test/unit/watcher_test.rb:25:in `setup'
  1210.  
  1211. 214) Error:
  1212. test_watched_by(WatcherTest):
  1213. ActiveRecord::RecordNotFound: Couldn't find Issue with ID=1
  1214. /test/unit/watcher_test.rb:25:in `setup'
  1215.  
  1216. 215) Error:
  1217. test_create_should_send_email_notification(WikiContentTest):
  1218. NoMethodError: You have a nil object when you didn't expect it!
  1219. The error occurred while evaluating nil.identifier
  1220. app/models/mailer.rb:171:in `wiki_content_added'
  1221. app/models/wiki_content_observer.rb:20:in `after_create'
  1222. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/observer.rb:185:in `notify_observers'
  1223. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/observer.rb:184:in `each'
  1224. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/observer.rb:184:in `notify_observers'
  1225. /test/unit/wiki_content_test.rb:49:in `test_create_should_send_email_notification'
  1226.  
  1227. 216) Failure:
  1228. test_update_should_send_email_notification(WikiContentTest) [/test/unit/wiki_content_test.rb:71]:
  1229. <1> expected but was
  1230. <0>.
  1231.  
  1232. 217) Failure:
  1233. test_create(WikiPageTest) [/test/unit/wiki_page_test.rb:34]:
  1234. <false> is not true.
  1235.  
  1236. 218) Failure:
  1237. test_find_or_new_page(WikiPageTest) [/test/unit/wiki_page_test.rb:44]:
  1238. <false> is not true.
  1239.  
  1240. 219) Error:
  1241. test_parent_title(WikiPageTest):
  1242. NoMethodError: You have a nil object when you didn't expect it!
  1243. The error occurred while evaluating nil.parent_title
  1244. /test/unit/wiki_page_test.rb:53:in `test_parent_title'
  1245.  
  1246. 220) Error:
  1247. test_parent_validation(WikiPageTest):
  1248. NoMethodError: You have a nil object when you didn't expect it!
  1249. The error occurred while evaluating nil.parent_title=
  1250. /test/unit/wiki_page_test.rb:79:in `test_parent_validation'
  1251.  
  1252. 221) Failure:
  1253. test_redirects_removed_when_deleting_page(WikiRedirectTest) [/test/unit/wiki_redirect_test.rb:71]:
  1254. <false> is not true.
  1255.  
  1256. 222) Failure:
  1257. test_update_redirect(WikiRedirectTest) [/test/unit/wiki_redirect_test.rb:45]:
  1258. <"New_title"> expected but was
  1259. <"An_old_page">.
  1260.  
  1261. 223) Error:
  1262. test_create(WikiTest):
  1263. ActiveRecord::RecordNotFound: Couldn't find Project with ID=2
  1264. app/models/project.rb:226:in `find'
  1265. /test/unit/wiki_test.rb:26:in `test_create'
  1266.  
  1267. 451 tests, 1194 assertions, 70 failures, 153 errors
Add Comment
Please, Sign In to add comment