File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
integration-tests/tests/seeder Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ test('valuesFromArray unique generator test', async () => {
934934 } ,
935935 } ,
936936 } ) ) ,
937- ) . rejects . toThrow ( 'there are no enough values to fill unique column.' ) ;
937+ ) . rejects . toThrow ( 'There are no enough values to fill unique column.' ) ;
938938
939939 await expect (
940940 seed ( db , { valuesFromArrayUniqueTable : schema . valuesFromArrayUniqueTable } , { seed : 1 } ) . refine ( ( funcs ) => ( {
@@ -955,7 +955,7 @@ test('valuesFromArray unique generator test', async () => {
955955 } ,
956956 } ,
957957 } ) ) ,
958- ) . rejects . toThrow ( 'there are no enough values to fill unique column.' ) ;
958+ ) . rejects . toThrow ( 'There are no enough values to fill unique column.' ) ;
959959} ) ;
960960
961961test ( 'intPrimaryKey generator test' , async ( ) => {
@@ -1771,5 +1771,7 @@ test('weightedRandom with unique gens generator test', async () => {
17711771 } ,
17721772 } ,
17731773 } ) ) ,
1774- ) . rejects . toThrow ( "sum of all weights don't equal to 1; 1.1 !== 1" ) ;
1774+ ) . rejects . toThrow (
1775+ 'The weights for the Weighted Random feature must add up to exactly 1. Please review your weights to ensure they total 1 before proceeding' ,
1776+ ) ;
17751777} ) ;
You can’t perform that action at this time.
0 commit comments