Skip to content

Commit 2597c3f

Browse files
fix: pluralize list response variables (#377)
1 parent 80f3b2c commit 2597c3f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

orb-java-core/src/test/kotlin/com/withorb/api/services/async/customers/CostServiceAsyncTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal class CostServiceAsyncTest {
2222
.build()
2323
val costServiceAsync = client.customers().costs()
2424

25-
val costFuture =
25+
val costsFuture =
2626
costServiceAsync.list(
2727
CustomerCostListParams.builder()
2828
.customerId("customer_id")
@@ -33,8 +33,8 @@ internal class CostServiceAsyncTest {
3333
.build()
3434
)
3535

36-
val cost = costFuture.get()
37-
cost.validate()
36+
val costs = costsFuture.get()
37+
costs.validate()
3838
}
3939

4040
@Test

orb-java-core/src/test/kotlin/com/withorb/api/services/blocking/customers/CostServiceTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal class CostServiceTest {
2222
.build()
2323
val costService = client.customers().costs()
2424

25-
val cost =
25+
val costs =
2626
costService.list(
2727
CustomerCostListParams.builder()
2828
.customerId("customer_id")
@@ -33,7 +33,7 @@ internal class CostServiceTest {
3333
.build()
3434
)
3535

36-
cost.validate()
36+
costs.validate()
3737
}
3838

3939
@Test

0 commit comments

Comments
 (0)