Skip to content

Commit fe1e7ef

Browse files
committed
Fix test
1 parent 3623654 commit fe1e7ef

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

validator/remote/src/integration-test/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorTypeDefClientTest.java

+5-6
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import org.junit.jupiter.params.provider.ValueSource;
4141
import tech.pegasys.teku.api.exceptions.RemoteServiceNotAvailableException;
4242
import tech.pegasys.teku.api.response.v1.beacon.ValidatorStatus;
43-
import tech.pegasys.teku.api.schema.BLSPubKey;
4443
import tech.pegasys.teku.ethereum.json.types.beacon.StateValidatorData;
4544
import tech.pegasys.teku.infrastructure.ssz.SszDataAssert;
4645
import tech.pegasys.teku.infrastructure.ssz.SszList;
@@ -385,7 +384,7 @@ public void postValidators_WhenSuccess_ReturnsResponse() throws JsonProcessingEx
385384
okHttpValidatorTypeDefClient.postStateValidators(List.of("1", "2"));
386385

387386
assertThat(result).isPresent();
388-
assertThat(result.get()).usingRecursiveComparison().isEqualTo(expected);
387+
assertThat(result.get()).isEqualTo(expected);
389388
}
390389

391390
private StateValidatorData generateStateValidatorData() {
@@ -401,10 +400,10 @@ private StateValidatorData generateStateValidatorData() {
401400
FAR_FUTURE_EPOCH,
402401
FAR_FUTURE_EPOCH);
403402
return new StateValidatorData(
404-
UInt64.valueOf(index),
405-
dataStructureUtil.randomUInt64(),
406-
ValidatorStatus.active_ongoing,
407-
validator);
403+
UInt64.valueOf(index),
404+
dataStructureUtil.randomUInt64(),
405+
ValidatorStatus.active_ongoing,
406+
validator);
408407
}
409408

410409
private void verifyRegisterValidatorsPostRequest(

0 commit comments

Comments
 (0)