From 9fb5454c2625c212216b7c0ce3d1c2ca11199e61 Mon Sep 17 00:00:00 2001 From: warunalakshitha Date: Tue, 19 Nov 2024 17:55:12 +0530 Subject: [PATCH] Enable jsondata tests --- .../tests/http_outbound_message_type_test.bal | 8 ++------ .../tests/resource_return_statment_test.bal | 16 ++++------------ gradle.properties | 2 +- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal b/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal index be10dc80c5..ba4e9ecdd5 100644 --- a/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal +++ b/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal @@ -77,9 +77,7 @@ public function testSendingMap() returns error? { common:assertJsonPayload(resp.getJsonPayload(), {sam: 50, jhon: 60}); } -@test:Config { - enable: false -} +@test:Config {} public function testSendingMapArray() returns error? { map jj = {sam: {hello: "world"}, jhon: {no: 56}}; map[] val = [jj, jj]; @@ -104,9 +102,7 @@ public function testSendingTable() returns error? { ]); } -@test:Config { - enable: false -} +@test:Config {} public function testSendingTableArray() returns error? { CustomerTable customerTab = table [ {id: 13, fname: "Dan", lname: "Bing"} diff --git a/ballerina-tests/http-misc-tests/tests/resource_return_statment_test.bal b/ballerina-tests/http-misc-tests/tests/resource_return_statment_test.bal index 754205a5d6..a7d44e444c 100644 --- a/ballerina-tests/http-misc-tests/tests/resource_return_statment_test.bal +++ b/ballerina-tests/http-misc-tests/tests/resource_return_statment_test.bal @@ -680,9 +680,7 @@ public function testReturnMapOfJson() returns error? { } } -@test:Config { - enable: false -} +@test:Config {} public function testReturnMapOfJsonArr() returns error? { http:Response|error resp = resourceReturnTestClient->get("/mytest/test22"); if resp is http:Response { @@ -697,9 +695,7 @@ public function testReturnMapOfJsonArr() returns error? { } } -@test:Config { - enable: false -} +@test:Config {} public function testReturnTableArr() returns error? { http:Response|error resp = resourceReturnTestClient->get("/mytest/test23"); if resp is http:Response { @@ -720,9 +716,7 @@ public function testReturnTableArr() returns error? { } } -@test:Config { - enable: false -} +@test:Config {} public function testReturnXmlArr() returns error? { http:Response|error resp = resourceReturnTestClient->get("/mytest/test24"); if resp is http:Response { @@ -734,9 +728,7 @@ public function testReturnXmlArr() returns error? { } } -@test:Config { - enable: false -} +@test:Config {} public function testReturnMapOfXml() returns error? { http:Response|error resp = resourceReturnTestClient->get("/mytest/test25"); if resp is http:Response { diff --git a/gradle.properties b/gradle.properties index 1f202907eb..6c1e91648c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -46,7 +46,7 @@ stdlibMimeVersion=2.10.2-20241119-174300-e60e412 stdlibCacheVersion=3.8.1-20241113-125700-b75a1bf stdlibAuthVersion=2.12.1-20241113-162300-ded40eb -stdlibDataJsonDataVersion=0.3.0-20241114-143900-285d739 +stdlibDataJsonDataVersion=0.3.0-20241119-191600-348e6c9 stdlibJwtVersion=2.13.1-20241113-162400-b59ccfa stdlibOAuth2Version=2.12.1-20241113-162400-4c6ddfe