From 156cf9b5a4e121659e91f3aa6fc4d328781bcc79 Mon Sep 17 00:00:00 2001 From: Halil Durak Date: Fri, 10 Apr 2026 17:48:35 +0300 Subject: [PATCH] `testing.zig`: init directly on `.serve` --- src/testing.zig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/testing.zig b/src/testing.zig index bba6bcdd..1dac47dd 100644 --- a/src/testing.zig +++ b/src/testing.zig @@ -491,11 +491,9 @@ test "tests:beforeAll" { const test_allocator = @import("root").tracking_allocator; test_config = try Config.init(test_allocator, "test", .{ .serve = .{ - .common = .{ - .tls_verify_host = false, - .user_agent_suffix = "internal-tester", - .ws_max_concurrent = 50, - }, + .insecure_disable_tls_host_verification = true, + .user_agent_suffix = "internal-tester", + .ws_max_concurrent = 50, } }); test_app = try App.init(test_allocator, &test_config);