From a0fb0cc5bb30a7c57183396119609202d9d9cd41 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 14 Feb 2022 21:58:19 +0000 Subject: [PATCH] Use database NULL values instead of empty strings --- utility/db/dbTestData.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/utility/db/dbTestData.js b/utility/db/dbTestData.js index 9b9e1d1..b08720c 100644 --- a/utility/db/dbTestData.js +++ b/utility/db/dbTestData.js @@ -41,14 +41,14 @@ const data = { { email: 'p2@stratos.com', firstName: 'Jeffery', - otherNames: '', + otherNames: null, lastName: 'Jonas', password: 'p2' }, { email: 'p3@stratos.com', firstName: 'Mohammad', - otherNames: '', + otherNames: null, lastName: 'Gamble', password: 'p3' }, @@ -62,7 +62,7 @@ const data = { { email: 'p5@stratos.com', firstName: 'Darius', - otherNames: '', + otherNames: null, lastName: 'Tanz', password: 'p5' }, @@ -78,7 +78,7 @@ const data = { { email: 's2@stratos.com', firstName: 'Ola', - otherNames: '', + otherNames: null, lastName: 'Larson', password: 's2' }, @@ -92,7 +92,7 @@ const data = { { email: 's4@stratos.com', firstName: 'Huo', - otherNames: '', + otherNames: null, lastName: 'Ding', password: 's4' }, @@ -148,7 +148,7 @@ const data = { { email: 'a1@stratos.com', firstName: 'Aurick', - otherNames: '', + otherNames: null, lastName: 'Rubner', password: 'a1' }, @@ -162,7 +162,7 @@ const data = { { email: 'a3@stratos.com', firstName: 'Devajee', - otherNames: '', + otherNames: null, lastName: 'Vaughn', password: 'a3' },