testing.zig: init directly on .serve

This commit is contained in:
Halil Durak committed 2026-04-22 16:07:04 +03:00
1 parent f5b9bdb51b
commit 156cf9b5a4
1 file changed
+3 -5
+3 -5
View File
@@ -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);