Skip to content

Commit

Permalink
fix failing spec
Browse files Browse the repository at this point in the history
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
  • Loading branch information
lukelee-sl committed Jan 4, 2024
1 parent c203c31 commit 9226828
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1577,11 +1577,7 @@ HapiSpec invalidContract() {
return defaultHapiSpec("InvalidContract")
.given(withOpContext((spec, ctxLog) -> spec.registry().saveContractId("invalid", asContract("1.1.1"))))
.when()
.then(
ifHapiTest(
contractCallWithFunctionAbi("invalid", function).hasKnownStatus(INVALID_CONTRACT_ID)),
ifNotHapiTest(
contractCallWithFunctionAbi("invalid", function).hasPrecheck(INVALID_CONTRACT_ID)));
.then(contractCallWithFunctionAbi("invalid", function).hasKnownStatus(INVALID_CONTRACT_ID));
}

@HapiTest
Expand Down

0 comments on commit 9226828

Please sign in to comment.