Skip to content

Commit 583608b

Browse files
fix unit test
Signed-off-by: Michael Tinker <[email protected]>
1 parent 7a7c855 commit 583608b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

hedera-node/hedera-consensus-service-impl/src/test/java/com/hedera/node/app/service/consensus/impl/test/handlers/ConsensusUpdateTopicHandlerTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,6 @@ void rejectsMissingTopic() {
9292
assertThrowsPreCheck(() -> subject.pureChecks(pureChecksContext), INVALID_TOPIC_ID);
9393
}
9494

95-
@Test
96-
@DisplayName("No admin key to update memo fails")
97-
void rejectsNonExpiryMutationOfImmutableTopic() {
98-
givenValidTopic(AccountID.newBuilder().accountNum(0).build(), false, false);
99-
refreshStoresWithCurrentTopicInBothReadableAndWritable();
100-
101-
final var txBody = TransactionBody.newBuilder()
102-
.consensusUpdateTopic(OP_BUILDER.topicID(topicId).memo("Please mind the vase"))
103-
.build();
104-
given(handleContext.body()).willReturn(txBody);
105-
106-
// expect:
107-
assertFailsWith(ResponseCodeEnum.UNAUTHORIZED, () -> subject.handle(handleContext));
108-
}
109-
11095
@Test
11196
@DisplayName("Invalid new admin key update fails")
11297
void validatesNewAdminKey() {

0 commit comments

Comments
 (0)