From 8e5d3eef6f399cfbce4959c768bcb0f2036cae65 Mon Sep 17 00:00:00 2001 From: Lea Lobanov Date: Sun, 6 Oct 2024 01:20:02 +0800 Subject: [PATCH] Linting --- .../org/onflow/flow/sdk/impl/AsyncFlowAccessApiImplTest.kt | 2 +- .../kotlin/org/onflow/flow/sdk/impl/FlowAccessApiImplTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/AsyncFlowAccessApiImplTest.kt b/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/AsyncFlowAccessApiImplTest.kt index 86100f3..da1a530 100644 --- a/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/AsyncFlowAccessApiImplTest.kt +++ b/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/AsyncFlowAccessApiImplTest.kt @@ -162,7 +162,7 @@ class AsyncFlowAccessApiImplTest { @Test fun `test getTransactionResultById`() { val flowId = FlowId.of("id".toByteArray()) - val flowTransactionResult = FlowTransactionResult(FlowTransactionStatus.SEALED, 1, "message", emptyList(), flowId,1L, flowId, flowId,1L) + val flowTransactionResult = FlowTransactionResult(FlowTransactionStatus.SEALED, 1, "message", emptyList(), flowId, 1L, flowId, flowId, 1L) val transactionResultResponse = Access.TransactionResultResponse.newBuilder().setStatus(TransactionOuterClass.TransactionStatus.SEALED).setStatusCode(1).setErrorMessage("message").setBlockId(ByteString.copyFromUtf8("id")).build() `when`(api.getTransactionResult(any())).thenReturn(setupFutureMock(transactionResultResponse)) diff --git a/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/FlowAccessApiImplTest.kt b/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/FlowAccessApiImplTest.kt index 3dc98ff..68713fa 100644 --- a/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/FlowAccessApiImplTest.kt +++ b/sdk/src/test/kotlin/org/onflow/flow/sdk/impl/FlowAccessApiImplTest.kt @@ -170,7 +170,7 @@ class FlowAccessApiImplTest { @Test fun `Test getTransactionResultById`() { val flowId = FlowId.of("id".toByteArray()) - val flowTransactionResult = FlowTransactionResult(FlowTransactionStatus.SEALED, 1, "message", emptyList(), flowId,1L, flowId, flowId,1L) + val flowTransactionResult = FlowTransactionResult(FlowTransactionStatus.SEALED, 1, "message", emptyList(), flowId, 1L, flowId, flowId, 1L) val response = Access.TransactionResultResponse.newBuilder().setStatus(TransactionOuterClass.TransactionStatus.SEALED).setStatusCode(1).setErrorMessage("message").setBlockId(ByteString.copyFromUtf8("id")).build() `when`(mockApi.getTransactionResult(any())).thenReturn(response)