Skip to content

Commit a74194c

Browse files
Add minor fix
1 parent 183e594 commit a74194c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

ballerina/Dependencies.toml

+8
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ dependencies = [
211211
{org = "ballerina", name = "lang.value"},
212212
{org = "ballerina", name = "observe"}
213213
]
214+
modules = [
215+
{org = "ballerina", packageName = "log", moduleName = "log"}
216+
]
214217

215218
[[package]]
216219
org = "ballerina"
@@ -251,6 +254,9 @@ dependencies = [
251254
{org = "ballerina", name = "io"},
252255
{org = "ballerina", name = "jballerina.java"}
253256
]
257+
modules = [
258+
{org = "ballerina", packageName = "os", moduleName = "os"}
259+
]
254260

255261
[[package]]
256262
org = "ballerina"
@@ -299,6 +305,8 @@ name = "dayforce"
299305
version = "0.1.1"
300306
dependencies = [
301307
{org = "ballerina", name = "http"},
308+
{org = "ballerina", name = "log"},
309+
{org = "ballerina", name = "os"},
302310
{org = "ballerina", name = "test"},
303311
{org = "ballerina", name = "url"}
304312
]

ballerina/tests/mock_service.bal

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ http:Service mockService = service object {
2323

2424
isolated resource function get [string clientNamespace]/V1/Employees/[string xRefCode](string? contextDate = (), string? expand = (), string? contextDateRangeFrom = (), string? contextDateRangeTo = (), string? amfEntity = (), string? amfLevel = (), string? amfLevelValue = ()) returns Payload_Employee|error {
2525
return {
26-
"employeeId": "42199",
27-
"employeeName": "John Doe",
28-
"employeeAge": 30,
29-
"employeeSalary": 1000.0
26+
Data: {
27+
EmployeeNumber: xRefCode
28+
}
3029
};
3130
}
3231
};

0 commit comments

Comments
 (0)