[DO NOT MERGE] APPEALS-28923 - Rails 6.0.Z - Raise on deprecation warnings in test env #4770
Annotations
10 errors and 2 warnings
spec/models/concerns/hearing_request_type_concern_spec.rb#L219
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there's one paper trail event returns changed request type if version is `current`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L226
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there's one paper trail event returns the original request type if version is `prev`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L249
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there's one paper trail event there's a previously canceled ChangeHearingRequestTypeTask has an appeal with a canceled and completed ChangeHearingRequestTypeTask
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L254
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there's one paper trail event there's a previously canceled ChangeHearingRequestTypeTask returns changed request type if version is `current`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L259
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there's one paper trail event there's a previously canceled ChangeHearingRequestTypeTask returns the original request type if version is `prev`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L300
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there are two paper trail events returns changed request type if version is `current`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L314
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there are two paper trail events returns the original request type if version is `prev`
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/concerns/hearing_request_type_concern_spec.rb#L330
HearingRequestTypeConcern with a legacy appeal #readable_previous_hearing_request_type_for_task and #readable_current_hearing_request_type_for_task when there are two paper trail events when a task id that's not on the appeal is passed returns the original request type
Failure/Error: while BgsPowerOfAttorney.find_by(file_number: value).nil? == false &&
ActiveSupport::DeprecationException:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `create!` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BgsPowerOfAttorney.default_scoped`. (called from generate_random_file_number at /__w/caseflow/caseflow/lib/fakes/bgs_service.rb:715)
|
spec/models/queue_tabs/bva_intake_ready_for_review_tasks_tab_spec.rb#L57
BvaIntakeReadyForReviewTab.tasks when there are tasks assigned to the assignee returns assignee's ready to review tasks
Failure/Error: expect(subject).to match_array(assignee_ready_to_review)
expected collection contained: [#<PreDocketTask id: 2, appeal_id: 1, appeal_type: "Appeal", assigned_at: "2023-07-28 23:14:17", assi...nil, started_at: nil, status: "assigned", type: "PreDocketTask", updated_at: "2023-08-28 23:14:18">]
actual collection contained: [#<PreDocketTask id: 2, appeal_id: 1, appeal_type: "Appeal", assigned_at: "2023-07-28 23:14:17", assi...nil, started_at: nil, status: "assigned", type: "PreDocketTask", updated_at: "2023-08-28 23:14:18">]
the extra elements were: [#<PreDocketTask id: 2, appeal_id: 1, appeal_type: "Appeal", assigned_at: "2023-07-28 23:14:17", assi...nil, started_at: nil, status: "assigned", type: "PreDocketTask", updated_at: "2023-08-28 23:14:18">]
|
spec/feature/queue/case_details_spec.rb#L91
Case details hearings panel on attorney task detail view when appeal has a single hearing that has already been held Entire set of attributes for hearing are displayed
Failure/Error: case_hearing.update!(folder_nr: vacols_case.bfkey)
ArgumentError:
Trigger based primary key is not supported
|
|
|
The logs for this run have expired and are no longer available.
Loading