Skip to content

Commit 88eb75b

Browse files
committed
Fix test
1 parent b9f707d commit 88eb75b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

miner/src/test/java/fr/rakambda/channelpointsminer/miner/api/hermes/data/response/AuthenticateResponseTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AuthenticateResponseTest{
1111
void noError(){
1212
var tested = AuthenticateResponse.builder()
1313
.authenticateResponse(AuthenticateResponse.AuthenticateResponseData.builder()
14-
.error("ok")
14+
.result("ok")
1515
.build())
1616
.build();
1717
assertThat(tested.hasError()).isFalse();
@@ -27,7 +27,7 @@ void noError(){
2727
void hasError(String error){
2828
var tested = AuthenticateResponse.builder()
2929
.authenticateResponse(AuthenticateResponse.AuthenticateResponseData.builder()
30-
.error(error)
30+
.result(error)
3131
.build())
3232
.build();
3333

0 commit comments

Comments
 (0)