Fix English grammar in test files

This commit is contained in:
Mehdi 2021-12-17 04:10:22 +01:00 committed by GitHub
parent 12333ebea6
commit 272ca8634a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ describe('BigInteger validator', () => {
},
};
test('it does not validates the unique constraint if the attribute is not set as unique', async () => {
test('it does not validate the unique constraint if the attribute is not set as unique', async () => {
fakeFindOne.mockResolvedValueOnce(null);
const validator = strapiUtils.validateYupSchema(
@ -55,7 +55,7 @@ describe('BigInteger validator', () => {
expect(fakeFindOne).not.toHaveBeenCalled();
});
test('it does not validates the unique constraint if the attribute value is `null`', async () => {
test('it does not validate the unique constraint if the attribute value is `null`', async () => {
fakeFindOne.mockResolvedValueOnce(null);
const validator = strapiUtils.validateYupSchema(