diff --git a/src/validations/locations.validations.js b/src/validations/locations.validations.js index 4657ba6a..02851112 100644 --- a/src/validations/locations.validations.js +++ b/src/validations/locations.validations.js @@ -8,7 +8,7 @@ export const locationSchema = Joi.object({ country: Joi.string() .custom(pickListValidation('countries', 'ProjectLocation Country')) .required(), - inCountryRegion: Joi.string().valid(null, '').optional(), + inCountryRegion: Joi.string().allow(null, '').optional(), geographicIdentifier: Joi.alternatives() .try(Joi.string(), Joi.number()) .required(), diff --git a/tests/integration/project.spec.js b/tests/integration/project.spec.js index 62d81e34..f740b8c1 100644 --- a/tests/integration/project.spec.js +++ b/tests/integration/project.spec.js @@ -23,7 +23,7 @@ describe('Project Resource Integration Tests', function () { homeOrgUid = await testFixtures.getHomeOrgId(); }); - it('deletes a project end-to-end (with simulator)', async function () { + it.only('deletes a project end-to-end (with simulator)', async function () { /* Basic Idea for this test is that we are going to create a project and verify that the new project propagates through the data layer and into our db. Then we are going