Skip to content

Commit

Permalink
- Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennenoel committed Nov 18, 2024
1 parent 3e14a9f commit 879ef74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {classMetadata, property} from "@pristine-ts/metadata";
import {
AutoDataMappingBuilder, DataMapper,
DataMappingBuilder, DateNormalizer,
LowercaseNormalizer, NumberNormalizer,
LowercaseNormalizer, LowercaseNormalizerUniqueKey, NumberNormalizer,
StringNormalizer
} from "@pristine-ts/data-mapping";
import {Route} from "../models/route";
Expand Down Expand Up @@ -120,7 +120,7 @@ describe("Body Mapping Request Interceptor", () => {
.add()
.setSourceProperty("title")
.setDestinationProperty("name")
.addNormalizer(LowercaseNormalizer.name)
.addNormalizer(LowercaseNormalizerUniqueKey)
.end()
.add()
.setSourceProperty("rank")
Expand Down

0 comments on commit 879ef74

Please sign in to comment.