Skip to content

Commit

Permalink
update worker test
Browse files Browse the repository at this point in the history
  • Loading branch information
evisdrenova committed Dec 18, 2023
1 parent f2154cd commit dc26057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func Test_GenerateRandomIntRandomSign(t *testing.T) {
max := int64(9)
randomizeSign := false

mapping := fmt.Sprintf(`root = generate_int(randomize_sign:%t, min:%d, max:%d)`, randomizeSign, min, max)
mapping := fmt.Sprintf(`root = generate_int64(randomize_sign:%t, min:%d, max:%d)`, randomizeSign, min, max)
ex, err := bloblang.Parse(mapping)
assert.NoError(t, err, "failed to parse the random int transformer")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func Test_TransformIntPhoneTransformerWithNilValue(t *testing.T) {
rMin := int64(22)
rMax := int64(29)

mapping := fmt.Sprintf(`root = transform_int(value:%d, randomization_range_min:%d,randomization_range_max: %d)`, val, rMin, rMax)
mapping := fmt.Sprintf(`root = transform_int64(value:%d, randomization_range_min:%d,randomization_range_max: %d)`, val, rMin, rMax)
ex, err := bloblang.Parse(mapping)
assert.NoError(t, err, "failed to parse the email transformer")

Expand Down

0 comments on commit dc26057

Please sign in to comment.