diff --git a/languages/csharp/src/main/kotlin/io/vrap/codegen/languages/csharp/test/CsharpRequestTestRenderer.kt b/languages/csharp/src/main/kotlin/io/vrap/codegen/languages/csharp/test/CsharpRequestTestRenderer.kt index 3c14ba72..4eb099da 100644 --- a/languages/csharp/src/main/kotlin/io/vrap/codegen/languages/csharp/test/CsharpRequestTestRenderer.kt +++ b/languages/csharp/src/main/kotlin/io/vrap/codegen/languages/csharp/test/CsharpRequestTestRenderer.kt @@ -131,8 +131,8 @@ class CsharpRequestTestRenderer constructor(override val vrapTypeProvider: VrapT is BooleanType -> true is IntegerType -> r.nextInt(1, 10) is NumberType -> when (type.format) { - NumberFormat.DOUBLE -> r.nextDouble().toString() + "m" - NumberFormat.FLOAT -> r.nextFloat().toString() + "m" + NumberFormat.DOUBLE -> r.nextDouble().toString() + NumberFormat.FLOAT -> r.nextFloat().toString() else -> r.nextInt(1, 10) } else -> name