From a1d35a77586b4699be196bb7e1b12033cdc56c41 Mon Sep 17 00:00:00 2001 From: Parameswaran Sajeenthiran <77486691+ParameswaranSajeenthiran@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:36:13 +0530 Subject: [PATCH] Delete ballerina/tests/mock_service.bal --- ballerina/tests/mock_service.bal | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 ballerina/tests/mock_service.bal diff --git a/ballerina/tests/mock_service.bal b/ballerina/tests/mock_service.bal deleted file mode 100644 index 66dd46e..0000000 --- a/ballerina/tests/mock_service.bal +++ /dev/null @@ -1,32 +0,0 @@ -// import ballerina/http; -// import ballerina/log; -// import ballerina/test; - -// configurable int port = 9091; -// listener http:Listener httpListener = new (port); - -// http:Service mockService = service object { -// resource function post callbacks/complete(http:Caller caller, http:Request req) returns error? { -// log:printInfo("Received request for batch completion"); - -// // Mock response -// http:Response res = new; -// res.statusCode = 204; -// check caller->respond(res); -// }; -// }; - -// @test:BeforeSuite -// function init() returns error? { -// // Start the mock service -// check httpListener.attach(mockService ,"/mock"); -// check httpListener.'start(); - -// }; - -// @test:AfterSuite -// function dispose() returns error? { - -// check httpListener.gracefulStop(); -// check httpListener.detach(mockService); -// };