From 004345841b2e4f170d6d528f80237e7c738922d5 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Thu, 14 Sep 2023 12:27:20 +0000 Subject: [PATCH] Bug 34789: Update unit tests Signed-off-by: David Nind --- t/cypress/integration/ERM/Titles_spec.ts | 8 ++++---- t/cypress/support/e2e.js | 2 +- t/db_dependent/api/v1/erm_eholdings_titles.t | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/t/cypress/integration/ERM/Titles_spec.ts b/t/cypress/integration/ERM/Titles_spec.ts index 3ed27112f6..3bcb8d5a0b 100644 --- a/t/cypress/integration/ERM/Titles_spec.ts +++ b/t/cypress/integration/ERM/Titles_spec.ts @@ -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", diff --git a/t/cypress/support/e2e.js b/t/cypress/support/e2e.js index 0dbffe9ac8..a423c73c7c 100644 --- a/t/cypress/support/e2e.js +++ b/t/cypress/support/e2e.js @@ -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", diff --git a/t/db_dependent/api/v1/erm_eholdings_titles.t b/t/db_dependent/api/v1/erm_eholdings_titles.t index 943e581831..17b5a022f0 100755 --- a/t/db_dependent/api/v1/erm_eholdings_titles.t +++ b/t/db_dependent/api/v1/erm_eholdings_titles.t @@ -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" }; -- 2.30.2