From 6e9b6f1b0afa856540bc931afb23e6553de4b027 Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Fri, 24 May 2024 11:21:08 +0200 Subject: [PATCH] Make codebase compliant with `-Xep:UnusedVariable:ERROR` Signed-off-by: Yannic Bonenberger --- .../remoteexecution/TotalQueuingDurationDataProviderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/javatests/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/TotalQueuingDurationDataProviderTest.java b/analyzer/javatests/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/TotalQueuingDurationDataProviderTest.java index fd17f05..3c1fc7e 100644 --- a/analyzer/javatests/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/TotalQueuingDurationDataProviderTest.java +++ b/analyzer/javatests/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/TotalQueuingDurationDataProviderTest.java @@ -78,7 +78,7 @@ public void shouldReturnZeroQueuingDuration() throws Exception { verify(dataManager).getDatum(BazelProfile.class); verifyNoMoreInteractions(dataManager); - assertThat(provider.getTotalQueuingDuration().getTotalQueuingDuration()) + assertThat(queuing.getTotalQueuingDuration()) .isEqualTo(Duration.ZERO); } }