fix issue with entry model being wrong #452
Triggered via pull request
December 23, 2023 06:00
Status
Failure
Total duration
13m 41s
Artifacts
–
build-test-lint.yaml
on: pull_request
build-rails-6-1
5m 25s
Matrix: test
Annotations
6 errors and 16 warnings
./spec/models/bulkrax/pbcore_xml_entry_spec.rb.Bulkrax::PbcoreXmlEntry#build with raw_metadata succeeds:
spec/models/bulkrax/pbcore_xml_entry_spec.rb#L88
expected: "Complete"
got: "Failed"
(compared using ==)
|
./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: {"bulkrax_identifier"=>"cpb-aacip-20-000000hr"}
(compared using ==)
Diff:
@@ -1,9 +1,2 @@
-"admin_set_id" => "MyString",
"bulkrax_identifier" => "cpb-aacip-20-000000hr",
-"children" => [],
-"delete" => nil,
-"file" => nil,
-"model" => nil,
-"rights_statement" => [nil],
-"visibility" => "open",
|
test (3, 1)
Process completed with exit code 1.
|
test (3, 1)
❌ Tests reported 2 failures
|
test (3, 0)
Process completed with exit code 1.
|
test (3, 2)
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, 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/
|
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/
|