Skip to content

1247: add manual xml_id-uniqueness validations for tests and model_so… #5345

1247: add manual xml_id-uniqueness validations for tests and model_so…

1247: add manual xml_id-uniqueness validations for tests and model_so… #5345

Triggered via push February 5, 2025 22:41
Status Failure
Total duration 3m 46s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
lint
Process completed with exit code 1.
lint: spec/models/model_solution_spec.rb#L21
[rubocop] reported by reviewdog 🐶 Extra blank line detected. Raw Output: spec/models/model_solution_spec.rb:21:1: C: Layout/EmptyLines: Extra blank line detected.
test: spec/services/proforma_service/import_task_spec.rb#L56
ProformaService::ImportTask#execute when task with same uuid exists in db creates a predecessor for task Failure/Error: expect { import_proforma_task }.to change { task.reload.predecessor }.from(nil).to(be_an(Task)) NoMethodError: undefined method 'predecessor' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L74
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a new task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L78
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task changes existing task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L82
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a predecessor for task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task