Skip to content

Fix test assertions for new columns #73

Fix test assertions for new columns

Fix test assertions for new columns #73

Triggered via push June 3, 2024 16:00
Status Failure
Total duration 1m 20s
Artifacts 1

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
build-test
Process completed with exit code 10.
test/testAuthor.js ► Author model with Author Credits ► should return the associated Editions using creditedEditions method: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should automatically create an Edition Group editionGroupBbid has been unset in existing Edition: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should automatically create an Edition Group if none has been passed: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should return a JSON object with correct keys when saved: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should return a JSON object with empty collections array: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should return a JSON object with related collections if there exist any: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should return the master revision when multiple revisions exist: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, DEFAULT, $2, DEFAULT, $3) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEdition.js ► Edition model ► should set the same Author Credit on auto-created Edition Group: test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, $2, $3, DEFAULT, $4) returning * - column "credit_section" of relation "edition_group" does not exist
test/testEditionGroup.js ► EditionGroup model ► should return a JSON object with correct keys when saved: test-results.json#L0
Failed test found in: test-results.json Error: expected { aliasSetId: 1, …(21) } to have keys 'aliasSet', 'aliasSetId', 'annotation', 'annotationId', 'authorCreditId', 'bbid', 'creditSection', 'dataId', 'defaultAliasId', 'disambiguation', 'disambiguationId', 'identifierSet', 'identifierSetId', 'master', 'relationshipSet', 'relationshipSetId', 'revisionId', 'type', 'typeId', 'collections', 'sortName', 'name', and 'editionGroupType'
test/testEditionRevision.js ► EditionRevision model ► "before each" hook for "should return a JSON object with correct keys when saved": test-results.json#L0
Failed test found in: test-results.json Error: insert into "bookbrainz"."edition_group" ("alias_set_id", "author_credit_id", "bbid", "credit_section", "revision_id") values ($1, DEFAULT, $2, DEFAULT, $3) returning * - column "credit_section" of relation "edition_group" does not exist
build-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test
Unexpected input(s) 'cache', valid inputs are ['always-auth', 'node-version', 'registry-url', 'scope', 'version']
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
test-results Expired
145 KB