打开 关闭

ABP Suite generates incorrect string values when using regex input validation #4720


User avatar
0
info@ericverschoor.nl 创建
  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core

When generating unittest for xxxAppServiceTests, the mocked string values can contain incorrect characters when using regex input validation.

note: the used regex is: [+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)*(\d+) this will validate this bounding box: 48.040502, -1.657292, 56.110590, 12.431727

(please refund this ticked when you agree that this is an abp suite issue)


1 答案
  • User Avatar
    0
    alper 创建
    支持团队 Director

    we'll test this case

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11