mirror of
https://github.com/strapi/strapi.git
synced 2025-08-13 19:27:34 +00:00
Fix English grammar in test files
This commit is contained in:
parent
12333ebea6
commit
272ca8634a
@ -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);
|
fakeFindOne.mockResolvedValueOnce(null);
|
||||||
|
|
||||||
const validator = strapiUtils.validateYupSchema(
|
const validator = strapiUtils.validateYupSchema(
|
||||||
@ -55,7 +55,7 @@ describe('BigInteger validator', () => {
|
|||||||
expect(fakeFindOne).not.toHaveBeenCalled();
|
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);
|
fakeFindOne.mockResolvedValueOnce(null);
|
||||||
|
|
||||||
const validator = strapiUtils.validateYupSchema(
|
const validator = strapiUtils.validateYupSchema(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user