Bug 34789: Update unit tests

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Matt Blenkinsop 2023-09-14 12:27:20 +00:00 committed by Tomas Cohen Arazi
parent 7d2ce611f7
commit 4ec7c6a62e
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
3 changed files with 7 additions and 7 deletions

View file

@ -181,8 +181,8 @@ describe("Title CRUD operations", () => {
cy.get("#title_parent_publication_title_id").type(
erm_title.parent_publication_title_id
);
cy.get("#title_preceeding_publication_title_id").type(
erm_title.preceeding_publication_title_id
cy.get("#title_preceding_publication_title_id").type(
erm_title.preceding_publication_title_id
);
cy.get("#title_access_type").type(erm_title.access_type);
@ -333,9 +333,9 @@ describe("Title CRUD operations", () => {
"have.value",
erm_title.parent_publication_title_id
);
cy.get("#title_preceeding_publication_title_id").should(
cy.get("#title_preceding_publication_title_id").should(
"have.value",
erm_title.preceeding_publication_title_id
erm_title.preceding_publication_title_id
);
cy.get("#title_access_type").should(
"have.value",

View file

@ -66,7 +66,7 @@ cy.get_title = () => {
num_last_vol_online: "num last vol",
online_identifier: "online identifier",
parent_publication_title_id: "parent id",
preceeding_publication_title_id: "preceeding id",
preceding_publication_title_id: "preceeding id",
print_identifier: "print identifier",
publication_title: "publication title",
publication_type: "journal",

View file

@ -241,7 +241,7 @@ subtest 'add() tests' => sub {
first_editor => "First editor",
parent_publication_title_id =>
"Title identifier of the parent publication",
preceeding_publication_title_id =>
preceding_publication_title_id =>
"Title identifier of any preceding publication title",
access_type => "Access type"
};
@ -415,7 +415,7 @@ subtest 'update() tests' => sub {
first_editor => "First editor",
parent_publication_title_id =>
"Title identifier of the parent publication",
preceeding_publication_title_id =>
preceding_publication_title_id =>
"Title identifier of any preceding publication title",
access_type => "Access type"
};