Skip to content

Commit

Permalink
Use converter on the dto directly
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant committed Oct 7, 2024
1 parent afb2bef commit 3c9f3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/dto/converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestConvertV1DtoToInternalFlag(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
result := dto.ConvertV1DtoToInternalFlag(tt.input)
result := tt.input.Convert(nil, "random-flag-name")
assert.Equal(t, tt.expected, result)
})
}
Expand Down

0 comments on commit 3c9f3ef

Please sign in to comment.