Skip to content

fix issue with entry model being wrong #457

fix issue with entry model being wrong

fix issue with entry model being wrong #457

Triggered via pull request January 3, 2024 07:44
Status Failure
Total duration 16m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build-test-lint.yaml

on: pull_request
build-rails-6-1
5m 45s
build-rails-6-1
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 16 warnings
./spec/models/bulkrax/pbcore_xml_entry_spec.rb.Bulkrax::PbcoreXmlEntry#build with raw_metadata builds entry: spec/models/bulkrax/pbcore_xml_entry_spec.rb#L93
expected: {"admin_set_id"=>"MyString", "bulkrax_identifier"=>"cpb-aacip-20-000000hr", "children"=>[], "delete"=>nil, "file"=>nil, "model"=>nil, "rights_statement"=>[nil], "visibility"=>"open"} got: {"admin_set_id"=>"MyString", "bulkrax_identifier"=>"cpb-aacip-20-000000hr", "children"=>[], "delete"=>nil, "file"=>nil, "format"=>nil, "model"=>nil, "rights_statement"=>[nil], "visibility"=>"open"} (compared using ==) Diff: @@ -3,6 +3,7 @@ "children" => [], "delete" => nil, "file" => nil, +"format" => nil, "model" => nil, "rights_statement" => [nil], "visibility" => "open",
./spec/models/bulkrax/pbcore_xml_entry_spec.rb.Bulkrax::PbcoreXmlEntry#build with raw_metadata with asset raw_metadata builds entry: spec/models/bulkrax/pbcore_xml_entry_spec.rb#L170
expected: {"admin_data_gid"=>"gid://ams/admindata/1", "admin_set_id"=>"MyString", "asset_types"=>[], "audience_...id"=>["d74384e6424246088871415afe6230f5"], "subject"=>[], "topics"=>["Music"], "visibility"=>"open"} got: {"admin_data_gid"=>"gid://ams/admindata/1", "admin_set_id"=>"MyString", "asset_types"=>[], "audience_...id"=>["d74384e6424246088871415afe6230f5"], "subject"=>[], "topics"=>["Music"], "visibility"=>"open"} (compared using ==) Diff: @@ -14,6 +14,7 @@ "description" => ["5/11/96"], "episode_description" => [], "file" => nil, +"format" => nil, "genre" => ["Performance for a Live Audience"], "id" => "cpb-aacip-20-000000hr", "local_identifier" => ["4344"],
test (3, 1)
Process completed with exit code 1.
test (3, 1)
❌ Tests reported 2 failures
test (3, 2)
Process completed with exit code 1.
test (3, 0)
❌ Tests reported 2 failures
test (3, 0)
Process completed with exit code 1.
build-rails-6-1
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-rails-6-1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-rails-6-1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-rails-6-1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 1)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (3, 1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 2)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (3, 2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 0)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (3, 0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (3, 0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/