Skip to content

Commit

Permalink
fix: validation
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Jul 18, 2022
1 parent bea120f commit 6127067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/validations/locations.validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/project.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6127067

Please sign in to comment.